ID:152247
 
Would this be possbile and would it require porgrams other than BYOND?
Miran94 wrote:
Would this be possbile and would it require porgrams other than BYOND?

Not a compiler, since only really the developers know how to piece together programming and turn it into a dmb file, but an IDE is quite possible since BYOND can now let you use the command line to compile projects using dm.exe. Crashed is currently making an IDE called DMIDE, and I believe Nadrew had one in development a long while ago that he quit.
Miran94 wrote:
Would this be possbile and would it require porgrams other than BYOND?

You're going to have to clarify more than that. What language are you trying to compile?


To answer the broad question, no, it's generally not possible. Most programming languages output in a binary format. BYOND supports only two output methods: its proprietary savefile format, or plain text output. Raw binary input/output is lacking.
In response to Jtgibson
I want to create my own scripting language in DM if thats humanily posible :p
In response to Miran94
It is. You can have BYOND interpret the code. You don't need to compile a language to run it.
In response to Unknown Person
If Slurm can write a disassembler, people can write a compiler. I've already written a fairly simplistic (and slightly buggy) lexer for DM
In response to Jp
Wow, I wonder how that works. I can't read anything but text from files.
In response to CaptFalcon33035
So if it is posible is there any open source examples I could learn from.