Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/4RH1T3CT0R7/ttf-doom
/ functions
Functions
584 in github.com/4RH1T3CT0R7/ttf-doom
⨍
Functions
584
◇
Types & classes
112
Method
test_fdef_structure
Each function should be: PUSH id, FDEF, <body>, ENDF.
tests/test_stdlib.py:691
Method
test_file_size_reasonable
The font file is a reasonable size (not trivially empty).
tests/test_raycaster.py:316
Method
test_fixabs_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:233
Method
test_fixabs_metadata
(self)
tests/test_stdlib.py:280
Method
test_fixdiv_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:229
Method
test_fixdiv_large_dividend
Large dividend should still work within 32-bit range.
tests/test_stdlib.py:650
Method
test_fixdiv_metadata
(self)
tests/test_stdlib.py:275
Method
test_fixmul_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:225
Method
test_fixmul_metadata
(self)
tests/test_stdlib.py:270
Method
test_fixmul_result_smaller_than_inputs
Multiplying fractions should give a smaller result.
tests/test_stdlib.py:658
Method
test_fixneg_instructions_valid
(self, stdlib: dict[str, list[str]])
tests/test_stdlib.py:237
Method
test_fixneg_metadata
(self)
tests/test_stdlib.py:285
Method
test_font_can_be_reloaded
Font should load without errors (validates internal consistency).
tests/test_stdlib.py:839
Function
test_font_family_name
Font family name is 'DoomVarPOC'.
tests/test_variable_poc.py:264
Function
test_font_family_name
Font family name is 'DoomFont'.
tests/test_font_builder.py:280
Method
test_font_file_created
Font file should exist and be non-empty.
tests/test_stdlib.py:790
Method
test_font_has_fpgm
Font should contain fpgm table.
tests/test_stdlib.py:795
Method
test_font_loads
Font can be loaded by fonttools.
tests/test_raycaster.py:330
Function
test_font_reloadable
Font can be reloaded by TTFont without errors.
tests/test_font_builder.py:68
Method
test_fpgm_bytecode_nonempty
fpgm bytecode should be non-empty after assembly.
tests/test_stdlib.py:802
Method
test_fpgm_contains_expected_instructions
fpgm assembly contains FDEF/ENDF and known instructions.
tests/test_pipeline.py:343
Method
test_fpgm_contains_fdef
The fpgm table contains FDEF/ENDF blocks for user functions.
tests/test_pipeline.py:145
Method
test_fpgm_disassembles
fpgm program can be disassembled without errors.
tests/test_pipeline.py:312
Method
test_fpgm_fdef_count
fpgm has the expected number of FDEF blocks.
tests/test_raycaster.py:399
Method
test_fpgm_has_bytecode
fpgm table contains bytecode.
tests/test_raycaster.py:393
Method
test_fpgm_has_correct_fdef_count
The fpgm should contain one FDEF per stdlib function.
tests/test_stdlib.py:824
Method
test_fpgm_has_fdef_endf_pairs
Every FDEF has a matching ENDF.
tests/test_raycaster.py:227
Method
test_fpgm_has_while_loop_fdef
While loops compile to recursive FDEFs in fpgm.
tests/test_pipeline.py:383
Method
test_fpgm_nonempty
fpgm assembly contains function definitions.
tests/test_raycaster.py:222
Method
test_fpgm_roundtrip_assembly
Assembly should survive a save/load round-trip.
tests/test_stdlib.py:810
Method
test_fpgm_roundtrips
fpgm bytecode round-trips through assembly.
tests/test_raycaster.py:405
Method
test_full_program
(self)
tests/test_parser.py:486
Method
test_func_header
(self)
tests/test_lexer.py:62
Method
test_func_no_params
(self)
tests/test_codegen.py:484
Method
test_func_no_return_type
(self)
tests/test_parser.py:124
Method
test_func_params_reverse_order
Last param should be popped first (it's on top of stack).
tests/test_codegen.py:508
Method
test_func_with_assignment_body
(self)
tests/test_parser.py:134
Method
test_func_with_params_storage
(self)
tests/test_codegen.py:494
Method
test_func_with_return
(self)
tests/test_parser.py:111
Function
test_fvar_axis_range
MOVE axis has min=0, default=500, max=1000.
tests/test_variable_poc.py:69
Function
test_fvar_axis_ranges
Each axis has the correct min/default/max values.
tests/test_font_builder.py:97
Function
test_fvar_axis_tags
fvar axis tags match DEFAULT_AXES.
tests/test_font_builder.py:89
Method
test_fvar_axis_tags
fvar axes have the correct tags.
tests/test_raycaster.py:356
Method
test_fvar_has_five_axes
fvar defines exactly 5 variation axes.
tests/test_raycaster.py:351
Function
test_fvar_has_move_axis
fvar defines exactly one axis with tag 'MOVE'.
tests/test_variable_poc.py:59
Method
test_game_tick_is_entry_point
game_tick must exist so the glyph program can call it.
tests/test_raycaster.py:186
Method
test_get_axis_0
(self)
tests/test_codegen.py:800
Method
test_get_axis_intrinsic
get_axis intrinsic generates GETVARIATION assembly.
tests/test_raycaster.py:640
Method
test_get_axis_last
(self)
tests/test_codegen.py:812
Method
test_get_axis_single
(self)
tests/test_codegen.py:825
Method
test_get_axis_wrong_arg_count
(self)
tests/test_codegen.py:1270
Function
test_getvariation_opcode_present
Bytecode contains opcode 0x91 (GETVARIATION).
tests/test_variable_poc.py:247
Method
test_glyph_a_exists
The display glyph 'A' exists in the font.
tests/test_raycaster.py:362
Function
test_glyph_a_has_256_points
Glyph 'A' has 256 on-curve points (64 bars * 4 points).
tests/test_font_builder.py:163
Function
test_glyph_a_has_64_contours
Glyph 'A' has 64 contours (one per bar).
tests/test_font_builder.py:154
Method
test_glyph_calls_game_tick
(self)
tests/test_codegen.py:931
Method
test_glyph_calls_game_tick
Glyph program calls the game_tick function.
tests/test_raycaster.py:235
Method
test_glyph_calls_game_tick
The glyph program calls game_tick via CALL[].
tests/test_pipeline.py:157
Function
test_glyph_coordinates
Glyph 'A' outline matches the expected rectangle vertices.
tests/test_variable_poc.py:128
Method
test_glyph_empty_without_game_tick
(self)
tests/test_codegen.py:940
Method
test_glyph_has_128_points
Glyph 'A' has 32 * 4 = 128 on-curve points.
tests/test_raycaster.py:371
Method
test_glyph_has_32_contours
Glyph 'A' has 32 bar contours (one per display column).
tests/test_raycaster.py:366
Function
test_glyph_has_4_points
Glyph 'A' is a single-contour rectangle with exactly 4 points.
tests/test_variable_poc.py:117
Function
test_glyph_has_instructions
Glyph 'A' carries a non-empty hinting program.
tests/test_variable_poc.py:170
Function
test_glyph_has_instructions
Glyph 'A' has a non-empty hinting program.
tests/test_font_builder.py:200
Method
test_glyph_has_program
Glyph 'A' has a hinting program attached.
tests/test_raycaster.py:377
Method
test_glyph_program_disassembles
Glyph hinting program can be disassembled without errors.
tests/test_pipeline.py:332
Method
test_gvar_delta_count
gvar entries have correct delta count (num_bars*4 + 4 phantom).
tests/test_pipeline.py:266
Function
test_gvar_has_entries_for_both_glyphs
gvar has variation entries for both .notdef and A.
tests/test_font_builder.py:141
Function
test_gvar_has_variation_for_glyph_a
gvar contains at least one variation entry for glyph 'A'.
tests/test_variable_poc.py:93
Function
test_gvar_variation_references_move_axis
The gvar variation for 'A' references the MOVE axis.
tests/test_variable_poc.py:103
Method
test_half
(self)
tests/test_stdlib.py:193
Method
test_has_64_contours
Glyph 'A' has 64 contours (one per bar).
tests/test_pipeline.py:234
Method
test_has_arrays
Program declares map and trig table arrays.
tests/test_raycaster.py:158
Method
test_has_constants
Program declares the expected constants.
tests/test_raycaster.py:135
Method
test_has_five_axes
Font fvar table contains exactly 5 custom axes.
tests/test_pipeline.py:204
Function
test_has_fpgm_and_prep
Font contains fpgm and prep hinting tables.
tests/test_variable_poc.py:144
Function
test_has_fpgm_and_prep
Font contains fpgm and prep hinting tables.
tests/test_font_builder.py:193
Method
test_has_functions
Program defines the expected functions.
tests/test_raycaster.py:173
Function
test_has_fvar_table
Font contains an fvar (font variations) table.
tests/test_variable_poc.py:51
Function
test_has_fvar_with_5_axes
Font contains fvar with the 5 default axes.
tests/test_font_builder.py:81
Function
test_has_gvar_table
Font contains a gvar (glyph variations) table.
tests/test_variable_poc.py:85
Function
test_has_gvar_table
Font contains a gvar table.
tests/test_font_builder.py:135
Method
test_has_hinting_tables
Font has fpgm and prep for hinting programs.
tests/test_raycaster.py:346
Method
test_has_required_tables
Font has all required TrueType tables.
tests/test_raycaster.py:334
Method
test_has_variables
Program declares player state variables.
tests/test_raycaster.py:147
Method
test_has_variation_tables
Font has fvar and gvar for variable font support.
tests/test_raycaster.py:341
Method
test_hex_lower
(self)
tests/test_lexer.py:228
Method
test_hex_upper
(self)
tests/test_lexer.py:232
Method
test_if_else
(self)
tests/test_parser.py:166
Method
test_if_else_chains
If/else chains compile correctly.
tests/test_raycaster.py:599
Method
test_if_with_else
(self)
tests/test_codegen.py:416
Method
test_if_without_else
(self)
tests/test_codegen.py:401
Method
test_inconsistent_indent_raises
(self)
tests/test_lexer.py:167
Method
test_indent_dedent
(self)
tests/test_lexer.py:123
Method
test_inline_comment
Tokens before a comment should be emitted; comment text ignored.
tests/test_lexer.py:95
Method
test_interior_has_open_space
The map interior has some open cells for gameplay.
tests/test_raycaster.py:805
Method
test_invalid_character
(self)
tests/test_lexer.py:246
Method
test_invalid_source_no_crash
Invalid source produces an error, does not crash Python.
tests/test_pipeline.py:528
Method
test_keyword_prefix_is_identifier
An identifier that starts with a keyword should remain IDENTIFIER.
tests/test_lexer.py:347
← previous
next →
301–400 of 584, ranked by callers