qingyi-yan / POET

Other
1 stars 2 forks source link

Add support for Abstraction data types in enter_block() #9

Closed yimjay closed 2 years ago

yimjay commented 2 years ago

Define a new block to specify Abstraction data types and configure enter_block() to recognize the block.

yimjay commented 2 years ago

Added support for a block itself in last commit pushed on 8/12.

Tested by running the following:

testMap = MAP{"a" => 1,
                "b" => 2,
                "c" => 3};
XFORM.enter_block(testMap);
DEBUG{GLOBAL.SymTable};
XFORM.exit_block(testMap);

where output was:

DEBUGGING at level 1
END DEBUGGING at level 1
DEBUGGING result: SymTable===>POETList:(MAP{"a"=>1;"b"=>2;"c"=>3;})