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_push_negative
(self)
tests/test_codegen.py:902
Method
test_push_out_of_range_raises
(self)
tests/test_codegen.py:917
Method
test_push_small_value
(self)
tests/test_codegen.py:882
Method
test_push_values_in_range
All PUSHW values fit in signed 16-bit range.
tests/test_stdlib.py:245
Method
test_push_zero
(self)
tests/test_codegen.py:887
Method
test_raycast_returns_int
raycast function should be declared with a return type.
tests/test_raycaster.py:196
Method
test_read_modify_write
(self)
tests/test_codegen.py:294
Method
test_reloads_cleanly
Compiled font can be saved and reloaded without corruption.
tests/test_pipeline.py:182
Method
test_return_expr
(self)
tests/test_codegen.py:593
Method
test_return_expression
(self)
tests/test_parser.py:246
Method
test_return_literal
(self)
tests/test_codegen.py:578
Function
test_return_value_matches_path
create_variable_poc_font returns the output path it was given.
tests/test_variable_poc.py:39
Function
test_return_value_matches_path
build_doom_font returns the output path it was given.
tests/test_font_builder.py:56
Method
test_return_void
(self)
tests/test_codegen.py:602
Method
test_return_void
(self)
tests/test_parser.py:236
Method
test_return_with_value
(self)
tests/test_parser.py:225
Method
test_returning_func_leaves_one
A returning function should leave exactly one value on stack.
tests/test_codegen.py:1026
Method
test_roundtrip
(self)
tests/test_stdlib.py:202
Method
test_roundtrip_preserves_bytecode
fpgm bytecode is identical after round-trip.
tests/test_raycaster.py:479
Method
test_roundtrip_save_load
Font survives a save-load round-trip.
tests/test_raycaster.py:460
Function
test_scale_1
Scale=1 produces sin(90deg) == 1.
tests/test_math_tables.py:161
Function
test_scale_32767
Scale=32767 produces sin(90deg) == 32767.
tests/test_math_tables.py:154
Method
test_set_point_y_intrinsic
set_point_y intrinsic generates SCFS assembly.
tests/test_raycaster.py:622
Method
test_set_point_y_literals
(self)
tests/test_codegen.py:847
Method
test_set_point_y_order
Point index should be pushed before coordinate.
tests/test_codegen.py:859
Method
test_set_point_y_wrong_arg_count
(self)
tests/test_codegen.py:1289
Method
test_simple_call
(self)
tests/test_parser.py:375
Method
test_simple_if
(self)
tests/test_parser.py:152
Function
test_sin_0_is_zero
sin(0) == 0.
tests/test_math_tables.py:58
Function
test_sin_180_is_zero
sin(180 deg) == 0.
tests/test_math_tables.py:70
Function
test_sin_270_is_neg_scale
sin(270 deg) == -scale (-256).
tests/test_math_tables.py:76
Function
test_sin_90_is_scale
sin(90 deg) == scale (256).
tests/test_math_tables.py:64
Method
test_sin_cos_table_sizes
Tables have the expected number of entries.
tests/test_raycaster.py:707
Method
test_sin_quarter_is_scale
sin(90 deg) = sin(entry 64) should be the scale factor.
tests/test_raycaster.py:729
Function
test_sin_symmetry
sin(x) == -sin(x + 128) for all x (half-circle symmetry).
tests/test_math_tables.py:172
Function
test_sin_table_has_256_entries
Default sin table has exactly 256 entries.
tests/test_math_tables.py:28
Function
test_sin_values_bounded_by_scale
All sin values have magnitude <= scale.
tests/test_math_tables.py:129
Method
test_sin_zero_is_zero
sin(0) should be 0.
tests/test_raycaster.py:715
Method
test_small_values_fixmul
Very small fixed-point values (sub-unit precision). 0.001 cannot be exactly represented in 16.16 (65536 * 0.001 = 65.536, truncated t
tests/test_stdlib.py:623
Method
test_source_file_exists
doom.doom source file must exist.
tests/test_raycaster.py:117
Method
test_stdlib_functions_registered
Standard library functions are registered.
tests/test_raycaster.py:267
Method
test_storage_arrays_allocated
Storage arrays are allocated with correct sizes.
tests/test_raycaster.py:243
Method
test_subtraction
(self)
tests/test_codegen.py:737
Method
test_syntax_error_raises
Invalid DSL source raises an appropriate error.
tests/test_pipeline.py:502
Method
test_total_funcs_reasonable
Total function count stays within practical limits.
tests/test_raycaster.py:297
Method
test_total_storage_reasonable
Total storage allocation stays within practical limits.
tests/test_raycaster.py:290
Method
test_trunc_div_both_negative
(self)
tests/test_stdlib.py:325
Method
test_trunc_div_negative_denominator
(self)
tests/test_stdlib.py:322
Method
test_trunc_div_negative_numerator
(self)
tests/test_stdlib.py:318
Method
test_trunc_div_positive
(self)
tests/test_stdlib.py:315
Method
test_tt_div_basic
(self)
tests/test_stdlib.py:307
Method
test_tt_div_zero_raises
(self)
tests/test_stdlib.py:311
Method
test_tt_mul_basic
(self)
tests/test_stdlib.py:299
Method
test_tt_mul_negative
(self)
tests/test_stdlib.py:303
Method
test_unary_negation
(self)
tests/test_parser.py:326
Method
test_undefined_array_read
(self)
tests/test_codegen.py:1251
Method
test_undefined_function_call
(self)
tests/test_codegen.py:1236
Method
test_undefined_function_raises
Call to undefined function raises an error.
tests/test_pipeline.py:518
Method
test_undefined_variable_in_assignment
(self)
tests/test_codegen.py:1221
Method
test_undefined_variable_raises
Reference to undefined variable raises an error.
tests/test_pipeline.py:508
Method
test_unexpected_token
(self)
tests/test_parser.py:580
Method
test_user_functions_have_ids
All user functions are assigned FDEF IDs.
tests/test_raycaster.py:259
Method
test_var_decl_no_init
(self)
tests/test_lexer.py:46
Method
test_var_decl_with_init
(self)
tests/test_lexer.py:31
Method
test_var_init_large_value
(self)
tests/test_codegen.py:223
Method
test_var_init_small_value
(self)
tests/test_codegen.py:215
Method
test_var_line_number
(self)
tests/test_parser.py:66
Method
test_var_no_init
(self)
tests/test_codegen.py:229
Method
test_var_with_expression_init
(self)
tests/test_parser.py:60
Method
test_var_with_init
(self)
tests/test_parser.py:47
Method
test_var_without_init
(self)
tests/test_parser.py:54
Method
test_void_func_stack_neutral
A void function should consume all pushed values.
tests/test_codegen.py:1014
Method
test_wall_count_matches_prep
Number of wall cells matches non-zero map entries stored in prep.
tests/test_raycaster.py:812
Method
test_while
(self)
tests/test_parser.py:205
Method
test_while_basic
(self)
tests/test_codegen.py:440
Method
test_while_generates_recursive_call
(self)
tests/test_codegen.py:459
Method
test_while_loops_allocated
While loop helper functions are allocated.
tests/test_raycaster.py:273
Method
test_with_real_assembly
build_font injects actual assembly and it round-trips.
tests/test_pipeline.py:598
Method
test_zero
(self)
tests/test_stdlib.py:199
Method
test_zero
(self)
tests/test_lexer.py:236
Method
test_zero_divided_by_anything
(self)
tests/test_stdlib.py:552
Method
total_funcs
Total number of function IDs allocated so far.
compiler/allocator.py:178
Method
total_storage
Total number of storage slots allocated so far.
compiler/allocator.py:173
Function
var_poc_font_path
Generate the variable POC font once per test module.
tests/test_variable_poc.py:21
← previous
501–584 of 584, ranked by callers