forked from CoreASM/coreasm.core
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Example:
// fileA.casm
CoreASM FileA
use Standard
use Modularity
include "fileB.casm"
init InitB
rule RunA = {
print "Hello A!"
}
// fileB.casm
rule InitB = {
print "initializing..."
program(self) := @RunA
}
Working as expected:
fileA.casmcan be started with debugger- breakpoints in
rule RunAhit the debugger
Issues:
- breakpoints can be set in
rule RunA, but not inrule InitB - in
fileA.casmThe included file "fileB.casm" has errorsThere is no rule "InitB"
- in
fileB.casmSyntax Error: CoreASM expected, rule encountered.
Expected behavior:
- able to set breakpoints
- no parsing errors