flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [sug]Case insensitive MATCHIng Goto page Previous 1, 2 |
Author |
|
vid 10 Jul 2007, 19:44
Don't you think this is quite a mess? Especially implementation of "common stack" could be problematic...
|
|||
10 Jul 2007, 19:44 |
|
revolution 21 Dec 2008, 03:28
I am not convinced by any of the arguments for imacro (or istruc). No one has shown a case where it is either useful or needed. I think it creates more confusion that anything. Nobody writes mixed case opcodes unless there is a very compelling reason for it (like to deliberately avoid invoking a macro).
But how about imatch? Matching strings by case insensitivity is a useful endeavour IMO. I also showed a use for it in the first post of this thread. As for code page concerns and the international charset thing, I think that just the ASCII 7-bit codes are sufficient as a starting point. Certainly if it was to be expanded to some form of unicode case match with all the acutes and umlauts etc. then the code becomes quite messy with definitions of code pages and other whatnot. |
|||
21 Dec 2008, 03:28 |
|
LocoDelAssembly 21 Dec 2008, 04:22
Quote:
I write non-capitalized opcodes and so the macros that "overrides" them. Could I share my macros with people who likes to use the first letter capitalized or even with those who use all letters capitalized? (since my redaction sucks I mean things like "Mov" and "MOV" respectively when my macros are "mov") [edit]Yet, your suggestion is priority one IMHO[/edit] |
|||
21 Dec 2008, 04:22 |
|
revolution 21 Dec 2008, 04:37
Does anyone really write their opcodes with the initial letter capitalised and the rest lower case? I have not seen it. And it seems to be quite inconvenient to type like that anyway.
I accept that some people do write in all uppercase, but they are a clear minority. If I ever have occasion to include code from someone that writes in all uppercase I simply use my editor to push it all to lowercase before I do anything else with it. |
|||
21 Dec 2008, 04:37 |
|
LocoDelAssembly 21 Dec 2008, 04:55
Can't remember where I've seen things like "Invoke", but yes some (not many) people does it.
|
|||
21 Dec 2008, 04:55 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.