Closed ghost closed 3 years ago
@oponkork I'm not sure why prec.right
was needed before. I assume that sometimes the program name identifier was stolen sometimes or there used to be a conflict in a previous version of the grammar. If all the tests pass without the prec.right
I'm fine with dropping it.
As for adding support for internal procedures to the program block if the language supports it please do, just add a test case to Program section of the test/corpus/constructs.txt
file.
Does this looks like a slightly better implementation of the
program
rule? It follows themodule
rule. Program can also support internal procedures like modules for example which are now supported.and I have a question, why do we need
prec.right
in the original implementation of theprogram_block
?