Skip to content

Storing tokens for bootstrapping #45

@HuseyinSimsek7904

Description

@HuseyinSimsek7904

When the compiler is bootstrapping, it has to regenerate all of the tokens each time it iterates. This could be avoided if the tokens were collected at first, then in each iteration the tokens were reused. This would improve the compilation time.

However, there should also be an option to make the compiler recreate the tokens every time. This is important because if the lexer was changed that would require the tokens to be recollected at every iteration which would otherwise create problems.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions