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 |
|
Scott Richmond
|
cdb71a8122
|
:rarrow -> :arrow
|
2024-05-08 13:59:46 -04:00 |
|
Scott Richmond
|
c36a140c6b
|
if expressions, done
|
2024-05-08 13:50:26 -04:00 |
|
Scott Richmond
|
f3256f7d12
|
first draft if
|
2024-05-08 13:22:49 -04:00 |
|
Scott Richmond
|
05703a27fa
|
complete simple expressions
|
2024-04-29 18:38:08 -04:00 |
|
Scott Richmond
|
98fcfe7eb4
|
get the recursive descent framework worked out
|
2024-04-29 16:25:24 -04:00 |
|
Scott Richmond
|
3d570beb45
|
start work on a recursive descent parser
|
2024-04-28 18:13:49 -04:00 |
|
Scott Richmond
|
2bc32c35f2
|
get the thing to run, anyway
|
2024-04-06 19:12:44 -04:00 |
|
Scott Richmond
|
83ce75c6ea
|
Clean some things up
|
2024-04-06 18:15:12 -04:00 |
|
Scott Richmond
|
42907f19d7
|
start debugging current state of affairs: add comments with compile errors
|
2024-04-06 17:00:22 -04:00 |
|
Scott Richmond
|
efffbafdba
|
Save some work.
|
2024-03-25 16:04:54 -04:00 |
|
Scott Richmond
|
d253dc3d3e
|
stash work
|
2024-01-19 16:50:01 -05:00 |
|
Scott Richmond
|
f02532ee40
|
Get annoyed by translating my clj parser into janet; start work on a Janet/PEG parser
|
2024-01-11 19:42:58 -05:00 |
|
Scott Richmond
|
f4d09afed6
|
clj->janet :: loop->clj-loop
|
2024-01-11 14:26:22 -05:00 |
|
Scott Richmond
|
a65b4ba873
|
Keep working on translating parser
|
2024-01-09 23:42:56 -05:00 |
|