CondorLang / Condor

A fast, simple, and intelligent new programming language
BSD 3-Clause "New" or "Revised" License
34 stars 11 forks source link

Don't import or Include things twice #11

Open chaseWillden opened 7 years ago

chaseWillden commented 7 years ago

When we are calling an import or an include inside of a file, the requested file is parsed and compiled each time it's called.

See https://github.com/CondorLang/Condor/blob/master/src/condor/types/script/script.cc#L243

TODO