Zane Wagner

Results 37 issues of Zane Wagner

Add support for structs to the Small-C compiler See here for syntax: https://en.wikipedia.org/wiki/Struct_(C_programming_language) - [x] Determine struct syntax: definition, declaration, assignment, copying, member access. - [x] Reserve 'struct' keyword -...

enhancement

auto, else, long, switch, break, enum, register, typedef, case, extern, return, union, char, float, short, unsigned, const, for, signed, void, continue, goto, sizeof, volatile, default, if, static, while, do, int,...

# Static local variables Variables declared as static inside a function are statically allocated, thus keep their memory cell throughout all program execution, while having the same scope of visibility...

enhancement

> “Instead of always waiting for the first executable instruction in a block before allocating space for locals, when an initializer is found, allocate pending locals, then evaluate the initializing...

enhancement

C# code: ``` c# char c = line[i]; if (c == '\"') { if (inDoubleQuote) { inDoubleQuote = false; dataFields.Add('\"' + field); field = string.Empty; } else { inDoubleQuote =...

bug

``` C# Func assembler; assembler = m_Opcodes[opcode.ToLowerInvariant()]; bool result = assembler(param, opcodeFlag, state); ``` After transpilation to typescript, any calls to "this." in the assigned "assembler" function will resolve to...