/bell

Extremely basic binary-tree based programming language. More proof-of-concept than anything.

Primary LanguageC++

BellLanguage

This is a humble attempt at creating a simple programming language from scratch. The goal of this language is to be extremely simple and hence easy to understand (for the compiler at least). The compiler works by converting everything into a binary parse tree; this is the basis for the design and syntax of the language. In fact 'BELL' is a (lousy) acronym for Binary Expression Language, though Brainf@#$ (E)Inspired Language is also appropriate.

Right now the main objective is to create a language which can:

  • Can execute single lines (non-block) of code (done)
  • Can spot syntax errors (done)
  • Can handle and avoid execution errors (done)
  • Can interpret files

Sometime in the future we might add the capability to handle blocks of code, and consequently be able to implements functions.

TODO:

  • Document Code
  • Add inline help
  • Add ? (if) operator Done
  • Add loop operator
  • Interpret files