Files
bfc/README.md

25 lines
638 B
Markdown
Raw Normal View History

2020-09-30 01:15:57 +05:30
# bfc
An extension of a language that shall not be named
2020-09-30 01:27:09 +05:30
*Hello world*
```
-[-7>+<]>-.-[->+5<]>++.+7..+3.[-3>+<]>-5.--[->+4<]>-.-8.+3.-6.-8.
```
2020-09-30 01:15:57 +05:30
## Setup oddities
2020-09-30 01:27:09 +05:30
1. Copy antlr4's cpp libs to `./libs/antlr4`. (Please take care that the include folder points straight to the files not to `antlr-runtime`)
2020-09-30 01:15:57 +05:30
2. Copy `antlr-4.8-complete.jar` to `./thirdparty/antlr`.
3. Generate parsers to `./libs/generated` or use VSCode with the ANTLR extension.
2020-09-30 01:27:09 +05:30
## Todo (Tentative)
- [ ] Grammar
- [X] Number shorthand
- [X] Loop statements
- [ ] shorthand segments
- [ ] Processing
- [X] Print resultant .bf
- [ ] execute result