This website requires JavaScript.
8ac289cc9d
I keep working, shit's not working
Scott Richmond
2024-06-05 20:16:29 -0400
35a4b8e1c6
stash work: bugfixes, better errors, etc.
Scott Richmond
2024-06-05 17:47:41 -0400
20cb689d12
prelude now passes validator
Scott Richmond
2024-06-05 15:52:03 -0400
5874a56090
pull in most recent prelude
Scott Richmond
2024-06-05 13:21:48 -0400
6a4e2ccd17
continue integration work: basic framework
Scott Richmond
2024-06-05 13:01:43 -0400
721594823d
start integration work: comment out prints/pps; create ludus.janet
Scott Richmond
2024-06-05 11:55:06 -0400
fa5e298d94
ref -> box; fix box representations; add ds modifying functions to base
Scott Richmond
2024-06-04 16:57:32 -0400
6cc7f045a2
complete draft of base
Scott Richmond
2024-06-04 16:24:54 -0400
a25ece5a68
fixed closure/function contexts work with forward declaration & mutual recursion
Scott Richmond
2024-06-04 16:06:31 -0400
f80aa7a8dc
function contexts are fixed at declaration
Scott Richmond
2024-06-04 15:52:24 -0400
b86a25b5bc
stand up pkgs
Scott Richmond
2024-06-04 14:50:48 -0400
27b688b96d
interpret loop & recur!
Scott Richmond
2024-06-04 14:25:22 -0400
4da846d8d7
doc! works!
Scott Richmond
2024-06-04 13:28:20 -0400
478bc8649e
add runtime doc info
Scott Richmond
2024-06-04 13:04:53 -0400
1842923fa3
clean up little bugs
Scott Richmond
2024-06-04 13:02:15 -0400
df274799be
pretty print patterns
Scott Richmond
2024-06-04 13:00:34 -0400
3081af60b2
parse docstrings
Scott Richmond
2024-06-04 12:13:40 -0400
943e96203e
comment on last line does not kill scanner
Scott Richmond
2024-06-04 11:59:41 -0400
bbd41a0f74
interpret forward-declared functions, allowing mutual recursion
Scott Richmond
2024-06-04 11:54:29 -0400
bc1eac46b8
validate forward declarations
Scott Richmond
2024-06-04 11:50:17 -0400
d0a6cdbf54
parse fn forward declarations
Scott Richmond
2024-06-04 11:17:25 -0400
3903f10c8d
update in-code project management
Scott Richmond
2024-05-31 13:29:51 -0400
8e03707f64
fix arity-checking bug; do not check arities in self-recursive function calls
Scott Richmond
2024-05-30 19:56:21 -0400
524e3627fb
get pkg validation access working for root pkg access, e.g. Foo :bar
and Foo :bar
Scott Richmond
2024-05-30 19:38:00 -0400
1dce69e239
work on pkgs
Scott Richmond
2024-05-23 19:33:19 -0400
017655e8f8
add sqrt to prelude exports
Scott Richmond
2024-05-23 19:31:43 -0400
8b0954b8ec
correctly parse pkgs, actually
Scott Richmond
2024-05-20 18:24:41 -0400
4547c0747d
correctly parse pkgs
Scott Richmond
2024-05-20 18:23:00 -0400
70b6a1dcd7
correctly parse pkg-name and pkg-kw
Scott Richmond
2024-05-20 18:11:49 -0400
23128902bc
add pkg-kw tokens
Scott Richmond
2024-05-20 18:04:24 -0400
94adf5e9d5
called keywords take only a single argument
Scott Richmond
2024-05-20 17:43:57 -0400
1120f21df2
dict pattern matching
Scott Richmond
2024-05-19 20:19:00 -0400
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