41 Commits

Author SHA1 Message Date
0f953a0a2f basic error reporting to character and string literals 2024-08-24 00:43:43 +03:00
3fc13bcddd added some string escape chars and include path 2024-08-22 01:13:28 +03:00
4c8409da35 added new examples 2024-08-22 00:24:19 +03:00
4367febcd7 add target option to command line, fix | when its last char on line 2024-08-19 21:37:24 +03:00
86dbe8eb0a added a few operations and expanded standard library 2024-08-18 17:10:32 +03:00
30e2c565fb inclusion of library from the exe path 2024-08-18 17:09:44 +03:00
dbfa435e63 Added support for cl identifier pipe 2024-08-16 19:09:26 +03:00
e90d124892 changed project name from cl-forth to kurt 2024-08-16 10:09:45 +03:00
68947d00aa added file inclusion and optional macro documentation list 2024-08-16 00:16:26 +03:00
6eb5ad5b42 added character literals 2024-08-15 21:37:03 +03:00
b52e5b548a added a simple test for macros, also more cli stuff 2024-08-14 00:42:24 +03:00
3e855bbc23 added macros, temporarily removed some error checks 2024-08-14 00:38:29 +03:00
72201d5c8d minor modification to simülation 2024-08-14 00:34:57 +03:00
7c5f53ce08 command line with clingon (how to use it i dont get it???) 2024-08-11 23:07:31 +03:00
e75dd92a1f Some type declarations for sim (performance didn't change much) 2024-08-11 22:17:57 +03:00
9f9956e889 added interpreter again 2024-08-09 15:01:12 +03:00
e7b5f4fec7 C code passes all tests 2024-08-09 11:54:22 +03:00
b574944656 added ops for C codegen 2024-08-09 11:41:14 +03:00
1056b74b11 Begin C code generation. 2024-08-08 17:13:29 +03:00
b215590395 defop uses generic functions now. extended stack syntax 2024-08-06 23:02:14 +03:00
d989745845 fixed "|" :string and | :identifier confusion 2024-08-03 20:18:21 +03:00
2cbb10fc6b Added string literals 2024-08-03 19:34:43 +03:00
724519dad1 Improve lex error reporting, removed old interpreter comments 2024-08-03 19:29:57 +03:00
57204470df don't track playground file 2024-08-03 12:16:34 +03:00
38927a2169 added some basic tests 2024-08-03 12:03:58 +03:00
8713ffbd95 fixed | and & ops, added a new dep (cl-fad util library) 2024-08-01 00:08:18 +03:00
56f71f43b2 this function no longer has any use. 2024-07-31 14:54:31 +03:00
e4419034ce massive overhaul to defop, temporarily disable interpretation 2024-07-31 14:53:18 +03:00
7f6bb99e08 added bit shifts (<< >>), bitand (&), bitor (|), rot, over, swap ops 2024-07-30 22:38:29 +03:00
7562c4b30b Found a cool idea for DEFOP 2024-07-30 20:17:43 +03:00
4091b0e81f further fixes, probably need to change representation of tokens 2024-07-29 23:56:06 +03:00
004c2b5628 some arrangements to fix quirks of symbols in the executable program
note that (eq 'baz:foo bar:foo) is not true
so some stuff that works in the repl fails in executable
2024-07-29 23:15:38 +03:00
49b58b2d57 minor change to run to make it more generic 2024-07-29 00:36:06 +03:00
d1481f2770 added memory manipulation and syscalls 2024-07-27 16:42:24 +03:00
2d94db0990 changed . to dump, extended defop syntax, added while loops 2024-07-27 11:58:41 +03:00
025c958e2f branching (if else) added, as interpretation and compilation 2024-07-24 12:09:26 +03:00
7fa561a9d9 added op-case and some conditions for it (error checking) 2024-07-23 16:17:16 +03:00
1732b9a1a1 added repl 2024-07-23 16:15:31 +03:00
4979a97e02 oku beni 2024-07-19 14:20:02 +03:00
6c10a9e951 deleted old 'run' 2024-07-19 14:17:24 +03:00
a0fb419b1b başlangıç, push pop + - . vb. 2024-07-18 13:50:14 +03:00