flat assembler
Message board for the users of flat assembler.

Index > DOS > Compiler Construction Help

Author
Thread Post new topic Reply to topic
Jakevfr



Joined: 03 Feb 2007
Posts: 26
Jakevfr
Yeah, I'm learning FASM to create a compiler and I was wondering if anyone knew of a tutorial on creating a compiler (really simple compiler if possible) that uses FASM syntax. I searched the forum but found no results.

Thanks for any help
Post 03 Feb 2007, 18:03
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Not exactly FASM syntax, but this might help:

Quote:

http://compilers.iecc.com/crenshaw/
Let's Build a Compiler, by Jack Crenshaw
This fifteen-part series, written from 1988 to 1995, is a non-technical introduction to compiler construction. You can read the parts on-line or download them in a ZIP file.
Post 03 Feb 2007, 18:09
View user's profile Send private message Visit poster's website Reply with quote
Jakevfr



Joined: 03 Feb 2007
Posts: 26
Jakevfr
Yeah I've used that, but I'm having a difficult time changing over. That's what I'm going to follow if I can't find anything better.
Post 03 Feb 2007, 18:42
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Perhaps Context is what you're looking for? (Actually, only the Win32 build uses FASM, but it IS a compiler w/ src for various versions.)
Post 03 Feb 2007, 18:51
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
You could have a look at "Simple C Compiler", it user's fasm as backend. http://freshmeat.net/projects/simplec/?branch_id=44088&release_id=205235
Post 03 Feb 2007, 22:44
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Okay, this link is about MenuetOS, but it may offer some help (LCC outputting for FASM):

http://board.flatassembler.net/topic.php?t=5483
Post 05 Feb 2007, 20:13
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.