Max to Monk

Monkey Archive Forums/Monkey Discussion/Max to Monk

Paul - Taiphoz(Posted 2012) [#1]
Just wondering what would be the real sticking points on making a exporter to convert max code to monkey.

Assuming a Max project that only uses native functions, and basic objects/methods.


AdamRedwoods(Posted 2012) [#2]
data pointers


therevills(Posted 2012) [#3]
Composite types:
Function ReturnMultiplevalues(a Var,b Var,c Var)

DefData:
DefData "Simon",37,5000

Mulitidimesion arrays:
Local s:String[10,10]

Also BlitzMax has Doubles, whereas Monkey only has Floats.

I've ported code over from BlitzMax to Monkey pretty quickly by hand, but I only use "basic" stuff...


Paul - Taiphoz(Posted 2012) [#4]
I have a project sitting laughing at me , the prospect of porting it over is kinda creeping me out lol.

GUess by hand might just be the best option.