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

First pass lexer #5

Closed hawkins closed 5 years ago

hawkins commented 5 years ago

Though not bulletproof code by any means, I think the lexer is ready to merge and start rocking-and-rolling on integrating with preprocessor, testing more thoroughly to iron out bugs, and likely simultaneously begin work on a parser.

Note I didn't touch build.bat for anything but lever.c -> druid.c. You can use ./build.sh test to compile for test, or run cl manually with whatever args it needs.

Thoughts, @assemblyDruid ?

todo[bot] commented 5 years ago

Can't we just have string/char instead?

https://github.com/hawkins/druid/blob/1ef9ab33ceab6a10908a59a7a084da68df32079b/druid.c#L42-L47


This comment was generated by todo based on a TODO comment in 1ef9ab33ceab6a10908a59a7a084da68df32079b in #5. cc @hawkins.
cameronfarvin commented 5 years ago

let's merge, then! work on the pre-processor has also turned into work on the dependency tool (cargo equivalent), so it is taking longer than expected. Hopefully I will get both up and running next week.