SharpBASIC is a new programming language that is currently in development. As the name suggests the language should be considered a sharper BASIC, more powerful, less verbose but with a clear structure. The compiler is aimed to produce 32 and 64 bits native code (currently on Linux).

Development started in early 2020 by Frank Hoogerbeets, but was halted soon after the corona crisis began. Development resumed in late 2021. No time has been set yet for the release of the first compiler version.

The SharpBASIC compiler uses a recursive descent or 'top-down' predictive technique. As such, it doesn't do any backtracking or left-recursion. This requires the grammar to be clear and without ambiguity, which is what the SharpBASIC language aims to be, to make it pleasant for the programmer to use and for the compiler to process.

It should be noted that no grammar tools, such as ANTLR, JavaCC and Yacc, are being used or have been used. The compiler is being built from scratch, including the tokenizer and lexer. Early on in the development, Jack Crenshaw's series "Let's build a compiler" served as a guide. It was particularly useful for the development of the expression parser, which has since grown far beyond what Crenshaw proposed and supports both implicit and explicit type recognition/conversion.

For the latest development news and code examples, check out the forum. We're also in the process of building a documentation wiki.