... it's a pilot project, a 'proof of concept' is already done ... real work will start since April 2017, starting from scratch if neccessary.
for now i prefer to be open for ideas, for new features, etc.
Differencies from Compiler.
since it's written in java, there will be:
- garbage collection, instead of manual memory deallocation,
- lack of 'sizeof' instruction,
- perhaps more.
Overall Interpreter's Architecture.
'Ola AH' Programming Language interpreter consists of two parts:
- Instruction Executer.
Parser consists of two parts:
- Abstract Syntax Tree Builder.
Probably later there will be code parts responsible for optimization.
Parser - Tokenizer.
it's incomplete, but 'a design part' done already.
i've decided to do parser manually instead of using automated tool ... code is prettier that way.
higher quality, better code understanding, easier & faster changes in future.
Ola AH interpreter's parser,
a snapshot version of 0.0.1-alpha-15.
an Expression Tree,
in simplest form,
a snapshot version of 0.0.1-alpha-38.
'Ola AH' Programming Language interpreter's unfinished code in Java,
version 0.0.1-alpha-38 is available for download.
warning: code is very ugly as i experiment with code.
to be redesigned & rewritten later.
instructions parsed & executed,
in a version of 0.0.1-alpha-21.
see also, if You wish or need, ... : 'Ola AH' Programming Language, 'Ola AH' Programming Language Syntax.