In 2012, I developed the ideal architecture for the the best ever compiler of programming ACPUL consisting of layers and transformers. The main idea is the transparency of the compiled code's passage from start to finish for advanced refactoring, debugging, profiling, monitoring and optimizations with real-time time travel debugger (like Tommorow Corporation).
The code goes through multiple transformation stages and was also developed sequentially from 1 to 8 stages. These stages are what I will write about in the following articles:
This is all that is needed for the Matrix.
Parser
The ACPUL parser is created using EBNF of The Compiler Generator Coco/R by Dr. Hanspeter Mössenböck. Coco/R is a simple programming language, which is great in programming since it has the capability to compile itself. The output consists of independent C++ POSIX files: Parser.h/c, Scanner.h/c. Amazing! 😄
Just a few rules of ACPUL EBNF and you get the whole world.
The Best Language Architecture
The structure of the ACPUL compiler.
- Block, Expression, Object, ObjectMap, Processor
- CodeBlock, CodeInstruction, Compiler
- Executor, ExecutionBlock, CodeBuilder, Core, FormulaInstance, Interpreters, BuildFile, CoreTest
- Dumper, CoreData, ErrorNumbers, Error, AParser, AScanner, AErrors
- Utils, DumpHelper
- CoreInfo, InfoDelegate, InfoDelegateLog, Profile
- Debuggers, DataMatrix, ObjectGroup, DataMatrixOperation, DataMatrixFrame
- ObjectLocation, LiveComment, LiveLogging, InfoDelegateLiveLog, InfoDelegateLiviLoggingConnection
1. Block, Expression, Object, ObjectMap, Processor
The base of ACPUL programming language.