bcc
bcc copied to clipboard
A next-generation bcc parser for BlitzMax
test "framework/mod/brl/freetypefont/ft_01.bmx" contains outdated code: ``` SuperStrict Framework BRL.StandardIO Import BRL.FreeTypeFont Local font:TFreeTypeFont = TFreeTypeFont.Load("DroidSansMono.ttf", 12, SMOOTHFONT) If font Then Print "Family = " + String.FromCString(font._face.fname) Print "Style = "...
language/framework/fp_arrays_01.bmx: ```Blitzmax ' ' Test function pointer arrays ' SuperStrict Framework brl.standardio Local t:TType = New TType t.funcArray = [func1, func2, Null] Print t.funcArray[0]("1", 1, 1.0) Print t.funcArray[1]("2", 2, 2.0)...
``` Function MyCustomCompareFunction:Int(o1:Object, o2:Object) Return TMy(o1).longValue - TMy(o2).longValue End Function ``` If you are not aware of "longValue" being of type `long` (eg by refactoring from `int` to `long`) this...
Some functions are only working in newer compiler versions (eg operator overloading for index based access is not working in 0.129). So maybe this could be an option to make...
BlitzMax currently has a limitation that only allows for constant values for the `Step` counter of a `For` loop. I don't see any reason why the following code shouldn't be...
this works as (designed) in "legacy" but no longer in NG: ```BlitzMax SuperStrict Framework Brl.StandardIO Type Test Field s:String End Type Global testA:Test = New Test testA.s = "Hello" Function...
When compiling shared libraries (DLL files) in the "stdcall" version - so like this: ``` Function MyFunc:Int() export "Win32" End Function ``` The generated .def file only contains ``` LIBRARY...
Might be related to #532 ```BlitzMax SuperStrict Framework Brl.StandardIO Local k:TKeyWrapper = New TKeyWrapper Type TKeyWrapper Field keyHoldInformation:SKeyHoldInformation[5] Field key100:SKeyHoldInformation Method New() For Local i:Int = 0 To 4 Print...
I tried to compile - accidentally leaving out parameters. I have various overloads for many combinations of "left out" parameters. It seems bcc accidentally spit out the error for "each"...
I have a flaw somewhere in my code - so I tried to run it as "debug build" in MaxIDE. It runs there until I interacted the way it makes...