flat assembler
Message board for the users of flat assembler.
Index
> Programming Language Design > basic macro compiler |
Author |
|
fasmFUN 17 Oct 2019, 18:48
someone ?
|
|||
17 Oct 2019, 18:48 |
|
edfed 18 Oct 2019, 08:09
i think the short answer is no.
but it is very possible to create an expression evaluator. maybe you can look in the fasm source code to see how it's implemented by TG. |
|||
18 Oct 2019, 08:09 |
|
revolution 22 Oct 2019, 12:41
I think the longer answer is that you probably can. But it would be a lot of work.
fasm isn't really meant to be an HLL compiler, so such things like arbitrary expression evaluation aren't very easy to implement. It kind of goes against the basic nature of what assemblers do. |
|||
22 Oct 2019, 12:41 |
|
fasmFUN 17 Oct 2020, 16:22
revolution wrote: It kind of goes against the basic nature of what assemblers do. only the primitives one |
|||
17 Oct 2020, 16:22 |
|
revolution 18 Oct 2020, 03:36
fasmFUN wrote:
If that is what you want, then by all means make one. But you will confuse everyone if you try to call is an assembler. Last edited by revolution on 19 Oct 2020, 02:49; edited 1 time in total |
|||
18 Oct 2020, 03:36 |
|
bitRAKE 19 Oct 2020, 01:46
You're not the first to have such a desire:
https://board.flatassembler.net/topic.php?t=17343 The user of that post also went by other handles and has similar work on this board. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
19 Oct 2020, 01:46 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.