41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
# Ground, but written in C this time
|
|
|
|
This repo houses the new Ground interpreter, which will replace the old C++ interpreter.
|
|
|
|
Features of this interpreter:
|
|
|
|
* Written in C instead of C++
|
|
* Somewhat organised and readable codebase
|
|
* Not super buggy (yet)
|
|
* Uses standard, portable C*
|
|
|
|
Now that Ground's features have mostly been finalised, this interpreter can be built with care to many features not initially planned, like functions and data structures
|
|
|
|
*so far, only tested on Linux, but hopefully should work on other platforms as well
|
|
|
|
Progress marker:
|
|
|
|
- [x] Lexer
|
|
- [x] Parser
|
|
- [x] Labels
|
|
- [x] Instructions
|
|
- [x] Values
|
|
- [x] References
|
|
- [ ] Interpreter
|
|
- [x] Labels
|
|
- [x] Console I/O
|
|
- [x] Control flow
|
|
- [ ] Data
|
|
- [x] Variable creation
|
|
- [x] Variable access
|
|
- [ ] Lists
|
|
- [ ] Creation
|
|
- [ ] Access
|
|
- [ ] String operations
|
|
- [x] Maths
|
|
- [x] Comparisions
|
|
- [ ] Type conversions
|
|
- [ ] Functions
|
|
- [ ] Custom data structures
|
|
- [ ] Working with external libraries
|