flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [solved]fasm1 .namespace Goto page 1, 2 Next |
Author |
|
macomics 15 Sep 2021, 13:57
As far as I know, the concept of namespace itself was introduced in high-level languages to speed up the compilation of large programs. Initially, its developers wanted to limit the number of enumerated names in one area of the source text to speed up the process of determining them by the compiler. You suggest feeding the fasm even more names, on the opposite, to slow down its work, just for the sake of its own convenience.
As I believe, the implementation of the namespace macro instruction does not make much sense. It is better to write a patch for the fasm preprocessor. Then maybe Thomas will appreciate it. |
|||
15 Sep 2021, 13:57 |
|
Overclick 15 Sep 2021, 14:03
Question is not about why but how!
But if u ask then yes, I'm too lazy to rename variables for each window or thread or something. I want to have that ability in my arsenal. Actually I see how to do that, but I want to hear other ideas. |
|||
15 Sep 2021, 14:03 |
|
macomics 15 Sep 2021, 14:12
macomics wrote: It is better to write a patch for the fasm preprocessor. Then maybe Thomas will appreciate it. |
|||
15 Sep 2021, 14:12 |
|
Overclick 15 Sep 2021, 14:19
Thomas give up with fasm1. People ask him for updates of a lot of ideas but with no feedback
Anyway, macros doing well, so most of everything we can do as it is |
|||
15 Sep 2021, 14:19 |
|
macomics 15 Sep 2021, 14:25
Overclick wrote: Thomas give up with fasm1. People ask him for updates of a lot of ideas but with no feedback |
|||
15 Sep 2021, 14:25 |
|
Overclick 15 Sep 2021, 14:36
I suggest to take the best of both and make fasm2. Speed is most critical criteria for me if u ask.
U write ur comment before me, but both of us are not the first who dream about fasm2 What is fasm2 for me: Super easy, super fast with powerful macro where we can play with our new ideas. 1) float precalculation 2) spaces and multisections 3) longer variables 4) updated database of winapi 5) some new gui if u still use default one The rest is almost ideal... |
|||
15 Sep 2021, 14:36 |
|
Tomasz Grysztar 15 Sep 2021, 14:38
The requests for namespace feature were, in fact, what sparked the development of fasmg. So I already did implement it, and fasmg is the result.
|
|||
15 Sep 2021, 14:38 |
|
macomics 15 Sep 2021, 14:50
Overclick wrote: U write ur comment before me, but both of us are not the first who dream about fasm2 Oveclick wrote: 4) updated database of winapi Overclick wrote: 5) some new gui if u still use default one |
|||
15 Sep 2021, 14:50 |
|
Overclick 15 Sep 2021, 14:50
That why it's better to remacro it for fasm1. Even fasm1 is to slowly to recompile changes I make sometime. Sorry for my stupid critic, I don't even try fasmg, but a lot of people says it is slowly. We need easy and fast compiller, not complicated even if it's superpowerful.
|
|||
15 Sep 2021, 14:50 |
|
Overclick 15 Sep 2021, 14:54
Quote:
U rn't right. Includes import known winapi and where some of them is missing and have to be added manually. Quote:
I'm happy with RadAsm3 after I find how to edit config files ) Last edited by Overclick on 15 Sep 2021, 14:55; edited 1 time in total |
|||
15 Sep 2021, 14:54 |
|
Tomasz Grysztar 15 Sep 2021, 14:54
Overclick wrote: Sorry for my stupid critic, I don't even try fasmg, but a lot of people says it is slowly. It could get a bit faster with another implementation of x86 instruction set, designed from scratch to utilize CALM better - this is what in my mind is main candidate for "fasm 2", just a set of CALM-based headers for fasmg. Last edited by Tomasz Grysztar on 15 Sep 2021, 15:00; edited 1 time in total |
|||
15 Sep 2021, 14:54 |
|
Overclick 15 Sep 2021, 14:59
Quote:
U r right, I will try it some day. But I don't know even why if all I need can be done by fasm1. Did u make multisection at fasmg? It is most important macro for me as I work with huge enough projects. Fasmg needs my attention for all of this basics. |
|||
15 Sep 2021, 14:59 |
|
Tomasz Grysztar 15 Sep 2021, 15:03
Overclick wrote: Did u make multisection at fasmg? |
|||
15 Sep 2021, 15:03 |
|
macomics 15 Sep 2021, 15:05
Overclick wrote: U rn't right. Includes import known winapi where some of them is missing and have to be added manually. But if such a dance has gone, then where are the includs for the Linux version. I'm already tired of digging up the endless rubble of C .h files. This is a joke (I explain for some)!!! Last edited by macomics on 15 Sep 2021, 15:08; edited 1 time in total |
|||
15 Sep 2021, 15:05 |
|
Overclick 15 Sep 2021, 15:08
Tomasz, I promise I'll try it, thanks for all u've done for us, but the thread is about namespaces under fasm1. Any ideas?
|
|||
15 Sep 2021, 15:08 |
|
Overclick 15 Sep 2021, 15:17
Quote:
Nobody care )) |
|||
15 Sep 2021, 15:17 |
|
Overclick 01 Apr 2022, 11:55
Hi
I'm back to .namespace ideas as much as it possible at war time Trying to create it as addon for my multisection macro but problem is to generate the unique value names. Please give me some advice. I tried this too: Code: struc dd [data] \\{ define list@#currentnamespace . ,list@#currentnamespace .#@#currentnamespace dd data . equ .#@#currentnamespace \\}
|
||||||||||
01 Apr 2022, 11:55 |
|
macomics 01 Apr 2022, 12:34
Code: struc dd data& \\{ if ~ data eq ... end if \\} Code: struc dd [data] \\{ common \\local temp |
|||
01 Apr 2022, 12:34 |
|
Overclick 01 Apr 2022, 15:52
Data section seems writing ok but Code
|
|||||||||||||||||||
01 Apr 2022, 15:52 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.