The source code interpreter - fragmatyc/SDFL GitHub Wiki

This page contains the documentation of the interpreter package of the SDF language. The interpreter reads, parses, validates and converts to POJOs the SDFL source code.

com.sdfl.interpreter.SDFLInterpreter

Purpose: This class is the root of the interpreter. Its job is to parse the SDFL source file(s), remove the comments, remove the carriage return characters and use the StatementParser to build the appropriated Statement instance.

Usage: The SDFLInterpreter is the first actor in the compilation process. It's bundled inside a class called CompilerUtilities which holds all utility classes for the compiler. The interpreter is called with the source file(s) and holds a set of Statements to be used by the SDFLCompiler.

Back to Architecture

⚠️ **GitHub.com Fallback** ⚠️