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. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   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).  | 
              |||
                  
  | 
              
| 
                  
                   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"  | 
              |||
                  
  | 
              
| 
                  
                   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...  | 
              |||
                  
  | 
              
| 
                  
                   revolution 12 Dec 2008, 02:51 
                  rCX wrote: 
  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.