mirror of https://github.com/tbklang/tlang.git
Extern support #89
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
Dependencies
No dependencies set.
Reference: tlang/tlang#89
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?
Adding support for external symbols through the use of
extern efunc
(for functions) andextern evar
(for variables).Solution ✅
PsuedoEntities
isExternal()
andmakeExternal()
to theEntity
type to get this working.PseudoEntity
type which is created inparseExtern()
in the parser.What does
processPseudoEntities()
do?beginCheck()
in thetypechecker/core.d
to ensure thatPseudoEntity
s are unpacked, and then have embeddedEntity
have their parenting copied over.9e79bc6f8b0808d485093587f11777583703f17f
on branchextern_symbols
.extern_symbols
->varass_vardec_dependency
efunc
evar
extern_test.sh
We have done testing of
evar
so that works as of commitd548a066a63add60c2d587a8ad42ef04cd685e5c
on this branchThis is all done