bcc
bcc copied to clipboard
A next-generation bcc parser for BlitzMax
```BlitzMax SuperStrict Framework Brl.StandardIO Enum ETest Flags a b End Enum For local i:int = 0 to 10 Print ETest.Values()[0].ToString() Next ``` Isn't `Values()` here creating a new array each...
SCT Test "tests/framework/language/var_01.bmx" failed: ``` Function vars3(i1:Int Var, i2:Int Var, i3:Int Var) i1 = i2 If Varptr i1 = Varptr i2 Then '---- fails here Print "i1 = i2" End...
I accidentally overloaded a method with the same method definition (the the one missing some params should call the other with defaults). When removing the `M(i)` bcc fails with a...
The following code produces an error in the C code: ``` Framework BRL.StandardIO Function Foo() Exit EndFunction Repeat Foo() Forever ```
``` SuperStrict Framework BRL.Blitz Local x:T[] = T2.b DebugStop Type T Global a:T = New T End Type Type T2 Global b:T[] = [T.a] End Type ``` This code should...
When importing a file which contains a TStack definition (in a global, as field in a type) and imports another file which has a TStack, BCC segfaults. Exception is, if...
I had a look at preprocessor handling. I thought about adding support to more complex thingies (and + or) but after checking it more deeply, it already does this thing!...
main.bmx ```BlitzMax SuperStrict Brl.StandardIO Include "include.bmx" print Rand(100) ``` include.bmx ```BlitzMax Import Brl.Random ``` error: `Compile Error: Expecting expression but encountered 'import'` directly using the content of "include.bmx" in "main.bmx"...
## Bug Report Create a file containing this: ```BlitzMax SuperStrict Framework Brl.StandardIO Local theme:String = "include_test_child.bmx" If 1 = 1 Include "include_test_child.bmx" '
I may be wrong, but I think bcc may be outputting wrong code for LPVOID on Win32 API calls... my attempted sample code conversion is here! https://www.syntaxbomb.com/index.php?topic=7723.msg347042258#msg347042258 Basically, I think...