Цитата Сообщение от Bedazzle Посмотреть сообщение
I mean it is not straightforward
Exactly. ... from your examples the first and third should do warning and second not (even if that value is `halt`). But it can even more tricky.
For example:
Код:
    DUP 4
      nop : halt
    EDUP
    nop
... good luck with that if you are sitting early in the pipeline around substitutions and before macros are even processed...
(not saying that sitting late in the pipeline where the bytes are emitted is better, pretty much same complexity, just completely different problems)