Commit graph

3 commits

Author SHA1 Message Date
0e4f72e4a3 WIP: serialization/deserialization of datum in VM
All checks were successful
per-push tests / build (push) Successful in 55s
per-push tests / test-frontend (push) Successful in 58s
per-push tests / test-utility (push) Successful in 1m0s
per-push tests / test-backend (push) Successful in 1m1s
per-push tests / timed-decomposer-parse (push) Successful in 58s
Additionally: make release target binaries smaller and faster

Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-10-10 11:17:10 -07:00
528a61749d Readme and early CI
This commit prepares the code to be uploaded to gitlab.
Included is a small readme and basic CI.

Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-05-21 15:10:44 -07:00
6554a0639a Lexer and S-Expression data types
The lexer is complete with tests. It fully encapsulates the logic
of splitting an input document into a stream of tokens. It can be
instantiated from an Rc<str>, meaning no lifetimes need be managed
references to the original document (like a stringview) can be
passed around carelessly. The Lexer implements the iterator
method which should help elegantly design repls / compilers, etc.

The S-Expression data type represents the parsed AST. The actual
parsing logic is yet to be added. It is intended that the AST be
the last step before compiling to bytecode. The data representation
here is cons cells of datum. Formatting is implemented.

Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-05-07 09:19:33 -07:00