Skip to main content

One post tagged with "matrix"

View All Tags

· 2 min read
Victor Kozub

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.

  1. Block, Expression, Object, ObjectMap, Processor
  2. CodeBlock, CodeInstruction, Compiler
  3. Executor, ExecutionBlock, CodeBuilder, Core, FormulaInstance, Interpreters, BuildFile, CoreTest
  4. Dumper, CoreData, ErrorNumbers, Error, AParser, AScanner, AErrors
  5. Utils, DumpHelper
  6. CoreInfo, InfoDelegate, InfoDelegateLog, Profile
  7. Debuggers, DataMatrix, ObjectGroup, DataMatrixOperation, DataMatrixFrame
  8. ObjectLocation, LiveComment, LiveLogging, InfoDelegateLiveLog, InfoDelegateLiviLoggingConnection

1. Block, Expression, Object, ObjectMap, Processor

The base of ACPUL programming language.

2. CodeBlock, CodeInstruction, Compiler

3. Executor, ExecutionBlock, CodeBuilder, Core, FormulaInstance, Interpreters, BuildFile, CoreTest

4. Dumper, CoreData, ErrorNumbers, Error, AParser, AScanner, AErrors

5. Utils, DumpHelper

6. CoreInfo, InfoDelegate, InfoDelegateLog, Profile

7. Debuggers, DataMatrix, ObjectGroup, DataMatrixOperation, DataMatrixFrame

8. ObjectLocation, LiveComment, LiveLogging, InfoDelegateLiveLog, InfoDelegateLiviLoggingConnection