The butters programming language is a language that is made in c#, its runtime and compiler are highly customisable since it first outputs to a json like structure to then be further compiled or ran
to compile a butters file (.btrs) use the command:
Butters comp file.btrs
to run a compiled file (.bcomp):
Butters run file.bcomp
to do both after eachother:
Butters do file.btrs
All butters programs are structured in sections. Not all sections are always used. All possible sections are:
- META
- STATIC
- DYNAMIC
- DEFINE
- CODE
Sections are declared as such:
#section [name]
This defines the metadata of the file.
To add metadata you can add one of these in the section:
- author: the author of the file
- project: the project name
- version: the current version
- license: the license
These are added prefixed with a *.
like this (not all data is required):
#section META
*author [name]
*project [name]
These are the import functions in Butters.
! NOT IMPLEMENTED YET!
All variables will be defined here, they can be changed later on.
This is where all your code is sittuated.