FunkASM

Got a calculator project that you're working on, tell everyone about it
  • Author
  • Message
Offline
User avatar

add

Topic Starter

Re: HASM

Post09 November 2017, 12:42

Hey, cool!
I'm gonna take a look into the code in a bit, just wanted to say it's nice to see someone working on something here still.
Makes me happy :-D
Offline
User avatar

chickendude

Staff Member

Re: FunkASM

Post10 November 2017, 12:32

Heh that's looking pretty cool.
Offline
User avatar

NanoWar

Site Admin

Re: FunkASM

Post12 November 2017, 13:15

In case you are on Windows: I added the binary for you to play with on github: https://github.com/NanoWar/FunkCompiler ... /tag/0.1.0
Offline
User avatar

chickendude

Staff Member

Re: FunkASM

Post12 November 2017, 15:01

Cool, just downloaded it, i'll try it out tonight. Is there any sort of documentation anywhere?
Offline
User avatar

NanoWar

Site Admin

Re: FunkASM

Post12 November 2017, 16:37

What would you like to have in such a transpiler? Any ideas?
What annoys you the most in z80 asm?

For me it is
  1. variable naming/aliasing *DONE
  2. if/else without adding (annonymous) labels *DONE
  3. scope of a value (when can I reuse a register)
  4. data handling => auto increment variables (.var,), handling strings *DONE
  5. how to handle multiple return values of functions
Offline
User avatar

NanoWar

Site Admin

Re: FunkASM

Post12 November 2017, 22:28

chickendude wrote:Cool, just downloaded it, i'll try it out tonight. Is there any sort of documentation anywhere?

No documentation yet. But you probably just want to download the zip from github (I am not sure if/how compiling yourself would work) and look at the test files included. The sublime packages are cool if you want syntax highlighting, but they are work in progress. They dont actually offer so much.

Maybe someone should make a tutorial, or actually try to programm a little bit with it and see how far he comes. I tried porting a few lines of code of Tornado and I often lack operators that I would need. Like minus (lol) or most of the other basic operators. Bit shifts, flags, there is so much in z80, I dont think I can finish all. It's c++ after all and I am still quite new to that. I know about compilers, but this is just a fun side-project to learn about all that.

If I would start again today I would consider XText, Antlr, or Gold.
Previous

Return to Announce your Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron