hawkins / druid

🧙 A systems-level programming language with a focus on integrated build systems and deploying to native and web assembly at once
https://twitch.tv/druidlang
2 stars 0 forks source link

[ preprocessor ] Header File "Inclusion" #7

Open cameronfarvin opened 4 years ago

cameronfarvin commented 4 years ago

All plans are subject to change as optimizations or re-structuring is needed. As a basic first step, the druid preprocessor should be able to mimic the "include" capability of the C preprocessor.

For now, this will take the form of building an ordered memory model of ASCII characters consisting of the contents of the include files, and being able to output this char stream to stdout.