Skip to content

Commit

Permalink
add issue number to each TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhea committed Nov 18, 2023
1 parent 93c9da8 commit f3463b3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion flipjump/assembler/fj_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ def _get_main_macro_code_position(first_file: Tuple[str, Path]) -> CodePosition:
# noinspection PyUnusedLocal,PyUnresolvedReferences,PyPep8Naming
class FJParser(sly.Parser):
tokens = FJLexer.tokens
# TODO add Unary Minus (-), Unary Not (~). Maybe add logical or (||) and logical and (&&). Maybe handle power (**).
# TODO #249 - add Unary Minus (-), Unary Not (~).
# Maybe add logical or (||) and logical and (&&). Maybe handle power (**).
precedence = (
('right', '?', ':'),
('left', '|'),
Expand Down
2 changes: 1 addition & 1 deletion flipjump/interpretter/debugging/breakpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def update_breakpoints_from_breakpoint_contains_set(breakpoint_contains_labels:
add breakpoints generated with breakpoint_contains_labels.
param breakpoints[in,out] - adds breakpoints to it
"""
# TODO improve the speed of this part with suffix trees
# TODO #248 - improve the speed of this part with suffix trees
if breakpoint_contains_labels:
for label in tuple(label_to_address)[::-1]:
for bcl in breakpoint_contains_labels:
Expand Down
6 changes: 3 additions & 3 deletions flipjump/stl/mathlib.fj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// TODO refactor this file into: bit/mul.fj, bit/div.fj, hex/mul.fj, hex/div.fj, and update complexities
// TODO #223 - refactor this file into: bit/mul.fj, bit/div.fj, hex/mul.fj, hex/div.fj, and update complexities


// Every line is (advanced math) bananas!
Expand Down Expand Up @@ -217,7 +217,7 @@ ns hex {
}

// Space Complexity: 1616+@
// @output-param ret: ... TODO document the output params
// @output-param ret: ... TODO #223 - document the output params
// @output-param dst: ...
// @output-param add_carry_dst: ...
// @requires hex.tables.init_shared (or hex.init)
Expand Down Expand Up @@ -453,7 +453,7 @@ ns bit {


ns hex {
// TODO - hex.div fails tests. for example, 0xc3 / 0xe fails.
// TODO #191 - hex.div fails tests. for example, 0xc3 / 0xe fails.
def div n, nb, q, _r, _a, _b, div0 @ loop, after_loop, do_cmp_sub_func, do_sub, jump_to_flip, flip_op, \
r, b, a, i, ret, end {
.if0 nb, _b, div0
Expand Down
2 changes: 1 addition & 1 deletion programs/prime_sieve.fj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def prime_sieve_main @ prime_loop_if, prime_loop, next_prime, end, \
prime_loop:
if1_ptr primes_ptr, next_prime
// if p is prime:
print_int hw, p // TODO save ton of times by declaring p "dec", with dec.vec, dec.set, dec.add and dec.print.
print_int hw, p // TODO #196 - save ton of times by declaring p "dec", with dec.vec, dec.set, dec.add and dec.print
hex.inc hw, num_of_primes
mark_primes mark_primes_ptr, primes_ptr_n, is_add_4, p_2dw_offset, p_4dw_offset
next_prime:
Expand Down

0 comments on commit f3463b3

Please sign in to comment.