Commit graph

20 commits

Author SHA1 Message Date
657164429f add immediate nat word 2025-02-05 19:40:37 -03:00
bc9bc44e5d this should be handled in the compile end nat 2025-02-05 19:18:46 -03:00
8a0a2cf68f rename word: exec -> call 2025-02-05 19:01:57 -03:00
2f2be8e2a2 define tick word as an user word instead of a nat 2025-02-05 19:01:25 -03:00
95fbe92b2f copy parse-word result string to heap 2025-02-05 19:00:30 -03:00
c365caee6b rename state struct 2025-02-05 18:09:00 -03:00
23e5342cb0 move typedefs to top 2025-02-05 18:06:03 -03:00
7028ee4369 word flags, add immediate flag and remove special case for ; 2025-02-05 14:37:15 -03:00
e111afb040 refactor word compilation to allow recursion 2025-02-05 14:13:55 -03:00
96709aa013 add branch word 2025-02-05 13:33:29 -03:00
63799ae8e8 remove redundant check 2025-02-05 13:32:59 -03:00
a033c22ff3 move next word reading to its own function 2025-02-05 13:32:26 -03:00
d188cb033d ensure that we are in compiling mode in ; 2025-02-05 13:29:32 -03:00
2296a83b9b add pila boolean values definitions 2025-02-05 13:28:46 -03:00
d3b3e7230f add find-word native word
we can implement the tick word with this later...
2025-02-04 19:26:33 -03:00
bf608ad103 fix pop-ing of nil values 2025-02-04 19:15:51 -03:00
399ef3ab48 always print stack length 2025-02-04 15:07:07 -03:00
31eba14753 comments for RpnState 2025-02-04 14:21:38 -03:00
842b8060c8 comment 2025-02-03 20:16:38 -03:00
d5c2167efc initial commit 2025-02-03 20:09:55 -03:00