flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Compiler Internals > New FASM feature. :)Goto page 1, 2 Next  | 
  
| Author | 
  | 
              
| 
                  
                   scientica 30 Sep 2003, 17:44 
                  I take it you too experience attechment errors / debug mode errors... (No attached file) 
                  _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn  | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 30 Sep 2003, 17:59 
                  I can't attach the file. Get it from: http://board.win32asmcommunity.net/attachment.php?s=&postid=120117 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Tommy 30 Sep 2003, 18:41 
                  At first glance, very good!  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 01 Oct 2003, 13:41 
                  Tommy wrote: At first glance, very good! Yea, but, what you think: Is it good idea to make Fresh this way, even with risk for using non standard FASM compiler?  | 
              |||
                  
  | 
              
| 
                  
                   Tommy 01 Oct 2003, 13:49 
                  In my opinion, I think that Tomasz should (of course he decides himself, but I hope he do agree...  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 01 Oct 2003, 13:56 
                  OK, let's wait a little. Maybe you are right. (IMHO: My implementation is pretty raw and buggy, so maybe Privalov should rewrite it.) 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Tommy 01 Oct 2003, 14:22 
                  So long! Tommy  | 
              |||
                  
  | 
              
| 
                  
                   Tomasz Grysztar 01 Oct 2003, 14:39 
                  Yeah, it can be done a bit better, I'll rewrite it myself, but first we need to agree: is ^ character a good choice for such operator, or has somebody some better suggestion? 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 01 Oct 2003, 14:51 
                  So, "^" is not used symbol, this was the only reason I use it. There are not many free chars in FASM syntax. On other hand, maybe some word function will be better choice. Something like: "name label". 
 
                  
                BTW: My implementation works only inside macroses, and if the label is not argument, it not works properly too. It will be good if it works in whole source. Regards.  | 
              |||
                  
  | 
              
| 
                  
                   decard 01 Oct 2003, 15:07 
                  IMHO it should be implemented with '#' character (like in c) but unfortunatelly it is reserved for concating symbols... (in c concating is done by ## operator) This can cause some problems to programmers who are moving form c to fasm (I wanted to use # to change a symbol into string and I didn't know why it doesn't work... then I realized that there is a thing like fasm maual  
                  
                reagrds  | 
              |||
                  
  | 
              
| 
                  
                   scientica 01 Oct 2003, 15:09 
                  ^ is a good choice, to me it somehow says "lift the label name to a string" (ie make a string of the label name)
 
                  I don't think # is good for this, since it's already in use, it would break compabillity if it would do this: start#varn --> start"varn" instead of as now: start#varn --> startvarn _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn  | 
              |||
                  
  | 
              
| 
                  
                   Tomasz Grysztar 01 Oct 2003, 15:14 
                  OK, so it will be ^. I prefer to implement it inside the "process_concatenations" procedure, so it will work only inside macros, as # does. Anyway, it doesn't make any sense to use such operator outside macros (this is the same situation as with the # operator). 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Tommy 01 Oct 2003, 15:15 
                  I agree with you scientica, ^ seems to be a good choice!  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   decard 01 Oct 2003, 15:19 
                  Well... I didn't say that the meaning # should be shanged, I just shown my opinion  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Tomasz Grysztar 01 Oct 2003, 16:31 
                  I have another proposal: the ` character. I like it even more. What do you think about it? 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Tommy 01 Oct 2003, 17:36 
                  Yeah! I go for the ` character....  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   JohnFound 01 Oct 2003, 18:03 
                  Privalov wrote: I have another proposal: the ` character. I like it even more. What do you think about it? Of course, you are the master, but ` char is too similar to single quote ' , especially depending from the font you are using. Even ? is better.  | 
              |||
                  
  | 
              
| 
                  
                   Tomasz Grysztar 01 Oct 2003, 18:21 
                  With the syntax highlighting it won't be hard to distinguish them. And I like it exactly because it is so similar to the single quote. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   scientica 01 Oct 2003, 18:32 
                  I like the ^ better, but it's your choice. The ´ is as mentioned (IMO: too) easily confused with ', esp with some fonts. Plus that well see beginners/users mixing ' and ´ (and possibly `). I vote for the ^way.
 
                  But still you (as always) have a point, ´ is in a way logical, but I stay with my vote for ^. _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn  | 
              |||
                  
  | 
              
| Goto page 1, 2  Next < Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.