NOTE: I encourage you to fully read the introduction because it contains vital information for a good experience. If you have a bad experience with the language because you were to lazy to read the introduction, that's on you. Everything else however, the bugs, the bad design, and the incomplete documentation, is most certainly my fault.
This is a project about a compiler for a new programming language. The idea for the language is strong fundamental concepts that gives the programmer power to do what they want with what the language offers without the language having a large feature set for every specific little thing a programmer might want.
The language is planned to be used for making games, visualizing data and file formats. The second thing is smaller scripts for every day tasks like renaming files in a directory or doing complicated math which is inconvenient on a calculator.
If you haven't built or downloaded the compiler, take a look at README.
Your workflow with the compiler will look something like this:
btb main.btb -o main.exe
main.exe
# or if you want to compile and execute right away
btb main.btb -r
# more information about options
btb --help
Now when you know how to compile, your next step is here Chapter 1: Variables and operations.
You can find some project ideas here Suggestions.
NOTE: The compiler takes only one code file as input and through import directives finds and compiles all other files the program depend on.
When programming you want a couple of other things such as syntax highlighting, debugger and the ability to easily look at the standard library to see the available functions.
Syntax highlighting for Visual Studio Code
The language has a vscode extension called
Debugging
For debugging, add the
Go to standard library file (vscode)
For the
Syntax highlighting for other editors
For other editors you need to make your own syntax highlighting. Highlighting keywords and number literals may be enough.