Commit Graph

8 Commits

Author SHA1 Message Date
Aryadev Chavali
5a48b66dd6 Extract parsing logic from read-integers into parse-integers 2025-02-11 00:40:19 +00:00
Aryadev Chavali
6b60c5065b Re-implement all functions in main via fn macro. 2025-02-11 00:40:19 +00:00
Aryadev Chavali
bbde84c7d7 Add type alias for function and macro for defining functions with type specifier
`fn' is a convenience macro for defining functions with a type
specifier.  Only really matters for `sbcl` and other hard-optimising
Lisp interpreters which actually take these seriously.
2025-02-11 00:40:19 +00:00
Aryadev Chavali
bd47029bd8 Implement a program that reads some integers then prints their sum
Allows junk, and doesn't crash horribly.
2025-02-11 00:40:19 +00:00
Aryadev Chavali
4977b427d8 Implement a `while' macro. 2025-02-11 00:40:19 +00:00
Aryadev Chavali
e5253472a0 Rewrite entrypoint to prompt for a name, then print it 2025-02-11 00:40:19 +00:00
Aryadev Chavali
c069917170 Implement threading macros and make package lib.macros to hold them. 2025-02-11 00:40:19 +00:00
Aryadev Chavali
19b68fa49c Initial commit.
Setup boilerplate for system/package management.  In particular, setup
an entry-point and Shinmera's "deploy" to build executables.

Also write some scripts to easily load or build the project without
Emacs - just `sbcl --load <x>.lisp`.
2025-02-11 00:40:19 +00:00