This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dynamic lex test | |
function main [main]() | |
{ | |
string lex[2]; | |
var dynlex = lex; | |
${ .lex "dynlex", dynlex }; | |
dynlex[0] = "main"; | |
test(); | |
say(dynlex); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// interactive.winxed | |
function parse_line(compiler, storage, string line) | |
{ | |
string source = "function aux(__storage) {"; | |
for (string name in storage) { | |
var data = storage[name]; | |
string type = data[0]; | |
if (type == "var") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sub main | |
$P1 = new ['ResizablePMCArray'], 1 | |
$P2 = new ['ResizableIntegerArray'], 2 | |
$P1[0] = $P2 | |
$I0 = 1 | |
# Usual way | |
$P1[0; 0] = 7 |