Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omnisci3nce/sibyl-lang
ML-inspired programming language for learning purposes.
https://github.com/omnisci3nce/sibyl-lang
Last synced: about 2 months ago
JSON representation
ML-inspired programming language for learning purposes.
- Host: GitHub
- URL: https://github.com/omnisci3nce/sibyl-lang
- Owner: omnisci3nce
- Created: 2021-02-08T22:58:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T07:57:49.000Z (4 months ago)
- Last Synced: 2024-08-26T10:07:24.954Z (4 months ago)
- Language: OCaml
- Homepage:
- Size: 750 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sibyl
ML-inspired programming language for learning purposes.
The goals are for Sibyl to be:
- Functional (as opposed to OOP) but not to a fault - OCaml
- Flexible and modular - Module system
- Simple - Few syntactic structuresCurrently I'm learning about compilers via Crafting Interpreters and then applying what I learn to Sibyl as well as any additional information I learn from other sources such as books, Reddit, and Youtube.
Compiling on Mac and running using Rosetta
`clang -arch x86_64 example.s -o example_x86`
on mac
`dune exec bin/example.exe 2> program.s && clang -arch arm64 program.s -o program`
`./example_x86`
## Dependencies
`nasm`
## Vague Roadmap
- [x] Booleans & Ints
- [x] If Else expression (Windows x64/Interpreter/JS)
- [~30% Interp/JS only] Functions
- Loops
- String literals
- Static arrays
- Lists
- String type
- Pattern matching
- File IO
- Algebraic Data types
- Dynamic arrays / slices
- Tail recursion
- Type inference
- Tuples
- Garbage Collector
- Module system
- Structs
- Stdlib: JSON
- Stdlib: HTTP