bcc
bcc copied to clipboard
A next-generation bcc parser for BlitzMax
When importing a file which imports an ".h" file to define external function, this results in duplicate definitions: test.bmx ```BlitzMax SuperStrict Framework brl.standardio Import "ext.bmx" print test() print "Done." ```...
**Describe the bug** Trying to create an array of function pointers. Works fine in vanilla BlitzMax, but gives errors in NG Expression of Type String cannot be inkoked. **To Reproduce**...
Good day, The following module will not compile: ``` SuperStrict Module Test.Test Framework BRL.Blitz Import Text.Encoding Type TFoo Method New(test:String, e:EStreamEncoding=Null) EndMethod EndType Type TBar Extends TFoo EndType ``` "Unable...
``` SuperStrict Framework Brl.StandardIO Struct STest Field X:Int Method Add:STest Ptr(value:Int) X :+ value Return Varptr Self End Method End Struct ``` lets bcc spit out: `Compile Error: Subexpression for...
Hey, I'm not sure this is at all possible, but it would be nice to be able to overload generic types with a different number of arguments: ``` Framework BRL.Blitz...
 As you see I just misspelled "TData" when trying to create a new instance of it - but BCC blamed that the __module__ "data" was not found.
# Bug Report ```BlitzMax SuperStrict Framework BRL.StandardIO Type T Method M:Int() Return 1 End Method Function F:Int() Return 2 End Function End Type Function Test:Int() Local o:T = New T...
https://github.com/bmx-ng/bcc/blob/37692ce0816ab9e3412d35f0d3496cfdf15e9798/ctranslator.bmx#L607 Is this code line correct? It has an odd indentation (none ;-)) so might be in there since a debugging test ?
It looks like the compiler can't downcast an externed type that is derived from another type. This is definitely a feature my project makes heavy use of. Example program: ```...
Hiya, Just a small possible gotcha, and not a show stopper at all, but bcc incorrectly allows object pointers as a variable/parameter type. So that goes for all Object's, Strings...