flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > C pic compiler macro |
Author |
|
revolution 29 Nov 2008, 01:36
I strongly doubt that the macros will be powerful enough to do it. Just try to make a macro that decodes hashes and curly brackets and I think you will see the problem.
|
|||
29 Nov 2008, 01:36 |
|
baldr 29 Nov 2008, 07:49
revolution,
I have a strong feeling that fasm interpretive layer is Turing-complete, thus it's possible to write fasm source which will compile C source (as usual, file "hello.c" ). edfed, Selecting wrong tools to solve a problem can easily create unnecessary problems by the way. lex/yacc or back-end for gcc (if you don't want to dive so deep in C, and probably there is one already). |
|||
29 Nov 2008, 07:49 |
|
revolution 29 Nov 2008, 08:10
baldr wrote: I have a strong feeling that fasm interpretive layer is Turing-complete, thus it's possible to write fasm source which will compile C source (as usual, file "hello.c" ). |
|||
29 Nov 2008, 08:10 |
|
rCX 12 Dec 2008, 01:04
revolution wrote: Or better still, just use GCC, VC, BCC, or any other of the free compilers! But writing compilers in FASM is alot of fun... |
|||
12 Dec 2008, 01:04 |
|
revolution 12 Dec 2008, 02:51
rCX wrote:
|
|||
12 Dec 2008, 02:51 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.