Skip to content

Selective compiler build and stages #10

@drifter1

Description

@drifter1

Currently, the compiler is always built in its entirety. The make command builds all the implemented stages, and no compiler macros are used to turn sections of the code on or off.

There is added value in building the compiler selectively. For example, compiling only up to the syntax analysis stage and turning off the subsequent stages of semantic analysis and machine code generation.

This process can be refined further to create separate binaries for each stage. For instance, invoking the command make lex could generate a binary that solely performs lexical analysis.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions