Scott Richmond
|
a399669197
|
fix bugs, oops
|
2024-05-19 18:13:08 -04:00 |
|
Scott Richmond
|
e468add325
|
write most of a base
|
2024-05-19 18:04:08 -04:00 |
|
Scott Richmond
|
24bbef74aa
|
add janet functions
|
2024-05-19 16:18:52 -04:00 |
|
Scott Richmond
|
a06014270f
|
validate with passed context; don't die on builtin functions
|
2024-05-19 16:17:34 -04:00 |
|
Scott Richmond
|
608ab4ab67
|
stringify fns and bugfixes
|
2024-05-19 14:54:51 -04:00 |
|
Scott Richmond
|
70bff13eea
|
add ref to main switch
|
2024-05-19 14:54:37 -04:00 |
|
Scott Richmond
|
8d3d9a2dc5
|
2big commit: stand up fns, definitions and calls, lots of bugfixes
|
2024-05-19 01:58:10 -04:00 |
|
Scott Richmond
|
265f867a71
|
fix string interpolation
|
2024-05-18 18:22:49 -04:00 |
|
Scott Richmond
|
5deab18356
|
string patterns should now be working
|
2024-05-18 17:43:21 -04:00 |
|
Scott Richmond
|
014da297d0
|
more cleanup still
|
2024-05-18 17:05:47 -04:00 |
|
Scott Richmond
|
88aaf864ab
|
more cleanup
|
2024-05-18 17:05:14 -04:00 |
|
Scott Richmond
|
95054ef234
|
add match exprs
|
2024-05-18 17:04:23 -04:00 |
|
Scott Richmond
|
41cd39df2e
|
check + compile string patterns; some cleanup, some messes still
|
2024-05-18 17:04:04 -04:00 |
|
Scott Richmond
|
32cf7d6cc4
|
add expr to match to matchh
|
2024-05-18 17:01:12 -04:00 |
|
Scott Richmond
|
b5d23b26ec
|
ensure :errors is always a tuple or array, never nil; allows (empty? (scanner :errors)) to work as a test for errors
|
2024-05-18 17:00:18 -04:00 |
|
Scott Richmond
|
b0c912b16c
|
don't die when trying to check arity of a nonexistent function
|
2024-05-16 13:57:23 -04:00 |
|
Scott Richmond
|
d5f593b0f3
|
tuple patterns, with splats!
|
2024-05-15 12:33:52 -04:00 |
|
Scott Richmond
|
e0919e771d
|
bugfix
|
2024-05-15 12:33:34 -04:00 |
|
Scott Richmond
|
399f1fd4c7
|
make progress; WIP: interpreting pattern matching
|
2024-05-15 00:05:25 -04:00 |
|
Scott Richmond
|
3a8a236f01
|
start work on interpreter
|
2024-05-14 20:44:54 -04:00 |
|
Scott Richmond
|
c68d08e8b2
|
fix imports
|
2024-05-14 20:44:43 -04:00 |
|
Scott Richmond
|
3e9f38ef5c
|
update notes
|
2024-05-14 18:56:18 -04:00 |
|
Scott Richmond
|
b6e1d0e6ec
|
clean up files
|
2024-05-14 18:56:06 -04:00 |
|
Scott Richmond
|
bc17fe5006
|
successfully flag tail calls
|
2024-05-14 18:52:11 -04:00 |
|
Scott Richmond
|
5fbafbac94
|
make progress: many things
|
2024-05-14 18:41:21 -04:00 |
|
Scott Richmond
|
ec43aa3c67
|
accept newlines after arrows in fn clauses; make some asts mutable for validation
|
2024-05-14 18:41:07 -04:00 |
|
Scott Richmond
|
3225ea2472
|
improve pkg
|
2024-05-14 13:46:13 -04:00 |
|
Scott Richmond
|
67cd9d479b
|
keywords must start with lower case
|
2024-05-14 13:45:41 -04:00 |
|
Scott Richmond
|
3b3071adb0
|
capture unvalidated notes from parser as todos
|
2024-05-13 21:07:27 -04:00 |
|
Scott Richmond
|
7018949845
|
a whole lot of a validator
|
2024-05-13 20:55:36 -04:00 |
|
Scott Richmond
|
68e96bf223
|
many bugfixes; desugar pairs with word shorthand in dicts
|
2024-05-13 20:55:21 -04:00 |
|
Scott Richmond
|
2cfe9fdffc
|
complete draft of parsing
|
2024-05-11 23:25:36 -04:00 |
|
Scott Richmond
|
806ec0e8f0
|
moar validations
|
2024-05-11 23:25:20 -04:00 |
|
Scott Richmond
|
65eb17778c
|
don't put break before pipeline
|
2024-05-11 23:25:07 -04:00 |
|
Scott Richmond
|
b5def30348
|
add a pretty-printer (that sometimes causes errors!), lots of bugs but functions for all the things
|
2024-05-10 16:10:57 -04:00 |
|
Scott Richmond
|
b0cffea71f
|
moar idears for validation
|
2024-05-10 16:10:27 -04:00 |
|
Scott Richmond
|
064b5df2dd
|
better name for package names
|
2024-05-10 15:02:55 -04:00 |
|
Scott Richmond
|
f1a1e9ec62
|
notes towards an ast-validator
|
2024-05-10 15:02:37 -04:00 |
|
Scott Richmond
|
8f284f1e65
|
first draft of all the things; many bugs abound
|
2024-05-10 15:02:22 -04:00 |
|
Scott Richmond
|
232261b646
|
add uppercase pkg to scanner
|
2024-05-10 14:29:12 -04:00 |
|
Scott Richmond
|
f3778792b3
|
parse interpolated strings/string patterns
|
2024-05-09 18:30:13 -04:00 |
|
Scott Richmond
|
248e424993
|
moar bugfixes
|
2024-05-09 18:29:51 -04:00 |
|
Scott Richmond
|
3f16e45204
|
fix escaping brace bug, which was fixing next-char bug; also clean some stuff up
|
2024-05-09 16:35:22 -04:00 |
|
Scott Richmond
|
c5d04ddd66
|
some unfinished work on string interpolation
|
2024-05-08 17:42:10 -04:00 |
|
Scott Richmond
|
3466b075af
|
add easy patterns, start work on string interpolation
|
2024-05-08 17:31:47 -04:00 |
|
Scott Richmond
|
736f1024c3
|
fix nil parser bug, start work on patterns
|
2024-05-08 17:24:29 -04:00 |
|
Scott Richmond
|
4f16cf5cb0
|
finally get when clauses & forms right
|
2024-05-08 17:14:51 -04:00 |
|
Scott Richmond
|
942f55fb39
|
fix panic off-by-one-error
|
2024-05-08 15:56:59 -04:00 |
|
Scott Richmond
|
0eb212dd45
|
add a break before pipline
|
2024-05-08 15:29:31 -04:00 |
|
Scott Richmond
|
77bacd1367
|
get when expressions worked out
|
2024-05-08 15:29:18 -04:00 |
|