This website requires JavaScript.
d249ee0b21
validate dict patterns, by validating pairs
Scott Richmond
2024-05-19 20:18:39 -0400
e767c319b1
fix dict parsing
Scott Richmond
2024-05-19 20:18:22 -0400
010b584ef1
partial function application!
Scott Richmond
2024-05-19 19:35:41 -0400
ba1aa8ed03
comment out repl cruft
Scott Richmond
2024-05-19 19:35:30 -0400
e5917c6284
partially applied functions don't kill validation
Scott Richmond
2024-05-19 19:15:22 -0400
6bf4dde487
do expressions
Scott Richmond
2024-05-19 18:38:44 -0400
822f5c0178
{stringify, ltype} -> imports from base
Scott Richmond
2024-05-19 18:24:11 -0400
2415f3d437
bugfixes
Scott Richmond
2024-05-19 18:23:34 -0400
a399669197
fix bugs, oops
Scott Richmond
2024-05-19 18:13:08 -0400
e468add325
write most of a base
Scott Richmond
2024-05-19 18:04:08 -0400
24bbef74aa
add janet functions
Scott Richmond
2024-05-19 16:18:52 -0400
a06014270f
validate with passed context; don't die on builtin functions
Scott Richmond
2024-05-19 16:17:34 -0400
608ab4ab67
stringify fns and bugfixes
Scott Richmond
2024-05-19 14:54:51 -0400
70bff13eea
add ref to main switch
Scott Richmond
2024-05-19 14:54:37 -0400
8d3d9a2dc5
2big commit: stand up fns, definitions and calls, lots of bugfixes
Scott Richmond
2024-05-19 01:58:10 -0400
265f867a71
fix string interpolation
Scott Richmond
2024-05-18 18:22:49 -0400
5deab18356
string patterns should now be working
Scott Richmond
2024-05-18 17:43:21 -0400
014da297d0
more cleanup still
Scott Richmond
2024-05-18 17:05:47 -0400
88aaf864ab
more cleanup
Scott Richmond
2024-05-18 17:05:14 -0400
95054ef234
add match exprs
Scott Richmond
2024-05-18 17:04:23 -0400
41cd39df2e
check + compile string patterns; some cleanup, some messes still
Scott Richmond
2024-05-18 17:04:04 -0400
32cf7d6cc4
add expr to match to matchh
Scott Richmond
2024-05-18 17:01:12 -0400
b5d23b26ec
ensure :errors is always a tuple or array, never nil; allows (empty? (scanner :errors)) to work as a test for errors
Scott Richmond
2024-05-18 17:00:18 -0400
b0c912b16c
don't die when trying to check arity of a nonexistent function
Scott Richmond
2024-05-16 13:57:23 -0400
d5f593b0f3
tuple patterns, with splats!
Scott Richmond
2024-05-15 12:33:52 -0400
e0919e771d
bugfix
Scott Richmond
2024-05-15 12:33:34 -0400
399f1fd4c7
make progress; WIP: interpreting pattern matching
Scott Richmond
2024-05-15 00:05:25 -0400
3a8a236f01
start work on interpreter
Scott Richmond
2024-05-14 20:44:54 -0400
c68d08e8b2
fix imports
Scott Richmond
2024-05-14 20:44:43 -0400
3e9f38ef5c
update notes
Scott Richmond
2024-05-14 18:56:18 -0400
b6e1d0e6ec
clean up files
Scott Richmond
2024-05-14 18:56:06 -0400
bc17fe5006
successfully flag tail calls
Scott Richmond
2024-05-14 18:52:11 -0400
5fbafbac94
make progress: many things
Scott Richmond
2024-05-14 18:41:21 -0400
ec43aa3c67
accept newlines after arrows in fn clauses; make some asts mutable for validation
Scott Richmond
2024-05-14 18:41:07 -0400
3225ea2472
improve pkg
Scott Richmond
2024-05-14 13:46:13 -0400
67cd9d479b
keywords must start with lower case
Scott Richmond
2024-05-14 13:45:41 -0400
3b3071adb0
capture unvalidated notes from parser as todos
Scott Richmond
2024-05-13 21:07:27 -0400
7018949845
a whole lot of a validator
Scott Richmond
2024-05-13 20:55:36 -0400
68e96bf223
many bugfixes; desugar pairs with word shorthand in dicts
Scott Richmond
2024-05-13 20:55:21 -0400
2cfe9fdffc
complete draft of parsing
Scott Richmond
2024-05-11 23:25:36 -0400
806ec0e8f0
moar validations
Scott Richmond
2024-05-11 23:25:20 -0400
65eb17778c
don't put break before pipeline
Scott Richmond
2024-05-11 23:25:07 -0400
b5def30348
add a pretty-printer (that sometimes causes errors!), lots of bugs but functions for all the things
Scott Richmond
2024-05-10 16:10:57 -0400
b0cffea71f
moar idears for validation
Scott Richmond
2024-05-10 16:10:27 -0400
064b5df2dd
better name for package names
Scott Richmond
2024-05-10 15:02:55 -0400
f1a1e9ec62
notes towards an ast-validator
Scott Richmond
2024-05-10 15:02:37 -0400
8f284f1e65
first draft of all the things; many bugs abound
Scott Richmond
2024-05-10 15:02:22 -0400
232261b646
add uppercase pkg to scanner
Scott Richmond
2024-05-10 14:29:12 -0400
f3778792b3
parse interpolated strings/string patterns
Scott Richmond
2024-05-09 18:30:13 -0400
248e424993
moar bugfixes
Scott Richmond
2024-05-09 18:29:51 -0400
3f16e45204
fix escaping brace bug, which was fixing next-char bug; also clean some stuff up
Scott Richmond
2024-05-09 16:35:22 -0400
c5d04ddd66
some unfinished work on string interpolation
Scott Richmond
2024-05-08 17:42:10 -0400
3466b075af
add easy patterns, start work on string interpolation
Scott Richmond
2024-05-08 17:31:47 -0400
736f1024c3
fix nil parser bug, start work on patterns
Scott Richmond
2024-05-08 17:24:29 -0400
4f16cf5cb0
finally get when clauses & forms right
Scott Richmond
2024-05-08 17:14:51 -0400
942f55fb39
fix panic off-by-one-error
Scott Richmond
2024-05-08 15:56:59 -0400
0eb212dd45
add a break before pipline
Scott Richmond
2024-05-08 15:29:31 -0400
77bacd1367
get when expressions worked out
Scott Richmond
2024-05-08 15:29:18 -0400
cdb71a8122
:rarrow -> :arrow
Scott Richmond
2024-05-08 13:59:46 -0400
c36a140c6b
if expressions, done
Scott Richmond
2024-05-08 13:50:26 -0400
f3256f7d12
first draft if
Scott Richmond
2024-05-08 13:22:49 -0400
05703a27fa
complete simple expressions
Scott Richmond
2024-04-29 18:38:08 -0400
98fcfe7eb4
get the recursive descent framework worked out
Scott Richmond
2024-04-29 16:25:24 -0400
402b444231
add todos for computer class
Scott Richmond
2024-04-28 18:14:11 -0400
3d570beb45
start work on a recursive descent parser
Scott Richmond
2024-04-28 18:13:49 -0400
0de9f90f27
update .gitignore to exclude repl cruft
Scott Richmond
2024-04-28 18:10:03 -0400
2bc32c35f2
get the thing to run, anyway
Scott Richmond
2024-04-06 19:12:44 -0400
83ce75c6ea
Clean some things up
Scott Richmond
2024-04-06 18:15:12 -0400
42907f19d7
start debugging current state of affairs: add comments with compile errors
Scott Richmond
2024-04-06 17:00:22 -0400
bb42ca7ca4
Add doc command to justfile
Scott Richmond
2024-04-06 16:58:11 -0400
efffbafdba
Save some work.
Scott Richmond
2024-03-25 16:04:54 -0400
4a1e509fc4
0.1.3
last_clj
Scott Richmond
2024-01-22 17:37:28 -0500
aef33279ca
Fix vector subtraction
Scott Richmond
2024-01-22 17:37:11 -0500
1b361971bc
0.1.2
Scott Richmond
2024-01-22 17:18:46 -0500
673a96ffb8
Update prelude
Scott Richmond
2024-01-22 17:17:29 -0500
5c037ed46e
Add a global ref tracker, make some prelude changes
better_state
Scott Richmond
2024-01-22 17:04:33 -0500
c2943e0ba7
Draft changes.
Scott Richmond
2024-01-20 18:42:12 -0500
90c97e7cfe
Fix exports & bump version
Scott Richmond
2024-01-19 17:49:26 -0500
d253dc3d3e
stash work
Scott Richmond
2024-01-19 16:50:01 -0500
f02532ee40
Get annoyed by translating my clj parser into janet; start work on a Janet/PEG parser
Scott Richmond
2024-01-11 19:42:58 -0500
f4d09afed6
clj->janet :: loop->clj-loop
Scott Richmond
2024-01-11 14:26:22 -0500
a65b4ba873
Keep working on translating parser
Scott Richmond
2024-01-09 23:42:56 -0500
70e8763dc5
Pull janet files out into their own dir; start work on parser
Scott Richmond
2024-01-07 22:59:00 -0500
d3a1e10983
Improve repl commands
Scott Richmond
2024-01-07 22:58:03 -0500
ff40d395f8
Repl things
Scott Richmond
2024-01-07 20:10:45 -0500
307bebfa53
First pass at janet scanner
Scott Richmond
2024-01-07 20:10:16 -0500
153c5a358e
Take some notes clj->janet
Scott Richmond
2024-01-07 20:10:02 -0500
2cbc39029c
Janet repl things
Scott Richmond
2024-01-07 20:09:01 -0500
1520b1d8e7
Repl cruft
Scott Richmond
2023-12-31 18:37:19 -0500
83bfc01275
Try with kitten
Scott Richmond
2023-12-31 18:37:09 -0500
14780bf6b8
First pass at new state model: all refs are included in results.
Scott Richmond
2023-12-27 12:24:12 -0500
3c5e47f138
Add panic case.
test_harness
Scott Richmond
2023-12-27 12:10:00 -0500
f657da57ef
Bump version
Scott Richmond
2023-12-27 12:09:39 -0500
40f66321f1
Mention the whole team, duh
0.1.0-alpha.8
Scott Richmond
2023-12-26 19:43:53 -0500
c9a956fafb
Bump version
Scott Richmond
2023-12-24 23:42:37 -0500
47420740df
Merge pull request 'test_harness' (#22 ) from test_harness into main
Scott Richmond
2023-12-25 04:41:16 +0000
8b47aab280
Allow test harness to expect panics
Scott Richmond
2023-12-24 19:12:04 -0500
d12d485583
Add basic test harness, actually add files this time
Scott Richmond
2023-12-24 17:17:08 -0500
afb8bacb25
Stand up automated js/tap-based test harness framework.
Scott Richmond
2023-12-24 17:08:02 -0500
20ea25761a
Remove conflicting repl cruft.
Scott Richmond
2023-12-24 15:59:31 -0500