mirror of https://github.com/tbklang/tlang.git
Compiler object #90
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
Blocks
#92 Compilation arguments
tlang/tlang
Reference: tlang/tlang#90
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is this?
We want to encapsulate a single run of the compiler into a
Compiler
object. So far we have had good success but face following issues:Bug when multiple compilers run, symbol lookups fail? Maybe an issue with somestatic
entity in a typechecker somewhere? See issue #88Lexer
throw exceptions instead of havingperformLex()
return a booleanstring
->string
mapping with runtime conversion based on compile time methods requested. Maybe later it can be more complex, perhapsstring
->Object
mapping with downcasting dependent on who is calling.doLex()
,doParse()
callsThe lexer now throws exceptions instead of returning a
bool
in commite1e554d6bae99bfe64f22bca6bf68620d577c9ff
on the branch of this issue.We have completed most of these, just the todo at the top.
With commit
d548a066a63add60c2d587a8ad42ef04cd685e5c
we reworked the configuration sub system ✅