Open haxscramper opened 2 years ago
Added compilation concepts, this is going to be a bit subtle, because we'll likely want to layer then out too. So for example, resolution of paths vs import names is core, but specifying flags on the CLI or whatever might be complier CLI specification and/or doesn't strictly need to be followed.
Same teasing apart for cfg and nims
An unsorted list of things to be covered wrt primitive types and literals:
intX
:
int
int
floatX
:
intX
{.global.}
destructor is handled btwint(2f) == 2
,for i in 0 .. 2: inc tmp; tmp == 2
,1 + 1 == 2
etc.while
+ continue/breakwhile
statement scopingif
if
statement scopingcase
else
,elif
branches for case statementsof
branch variable scopingblock
break
to labeled blockbreak
to blockblock
variable scopingtry/catch/finally
(with and without user-defined exceptions)finally
in contexts different from simple exception