Commit Graph

8 Commits

Author SHA1 Message Date
ee5dabb4f3 Conlang: Implement functions 1.0 (Resolves #12)
- [x] Call syntax
- [x] Function declaration syntax
TODO:
- [ ] Any form of type checking
- [ ] Static variable resolution
- [ ] Closures, etc.
2023-10-29 23:47:00 -05:00
b906775006 dummy.cl: Remove "shebang comment" (lmao) 2023-10-26 22:14:12 -05:00
a339dfd549 dummy.cl: Use unicode escape 🦈 2023-10-23 21:02:45 -05:00
d6a80e4961 dummy.cl: Update to include while expressions 2023-10-16 22:55:07 -05:00
48f5e5248c conlang: Add break, true, false keywords, and example file 2023-09-28 01:31:46 -05:00
097e2c4f11 conlang: Rename literals; split, compose, and document Rules
- Renamed literal Types to reflect their literal nature
  - This allows for consistent naming across future non-literal Types
- Complicated lexer Rules have been split into composable sub-rules,
  and moved into the Rule struct.
  - This improves modularity, and allows sharing of sub-rules across rules.
- Documented each lexer rule with (at least) a one-line blurb
  describing its function
2023-09-27 18:13:01 -05:00
24f7c95ae2 dummy.cl: Add the new comment types to the example 2023-09-22 23:57:30 -05:00
8f66a64924 Initial Commit 2023-09-21 15:41:12 -05:00