Original article. In this blog post I'm going to dig deeper into the compiler architecture an internals of the current version. This article can be helpful for people interested in programming languages and compiler internals but also for potential BL compiler contributors.
We can use simple hello world program as an example: [code] main :: fn ()
Even if the latest release of BL is closer to the "real" language we still miss lot of features and have lot of bugs to be fixed. Here is the list of things we're going to do next.
Example:
...
WINDOWS :: true;
#if WINDOWS {
// compile this only on windows platform
}
...
Concept: [code] ... switch a { case A: // implicit fall through when case is empty? case B: break; // explicit end of the switch branch case C: