Skip to content

Instantly share code, notes, and snippets.

@NotFound
NotFound / gist:2490975
Created April 25, 2012 16:09
Testing dynamic lex with winxed
// dynamic lex test
function main [main]()
{
string lex[2];
var dynlex = lex;
${ .lex "dynlex", dynlex };
dynlex[0] = "main";
test();
say(dynlex);
@NotFound
NotFound / gist:1421426
Created December 2, 2011 02:20
winxed interactive - test
// 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")
@NotFound
NotFound / gist:812897
Created February 5, 2011 23:00
Playing with keys
.sub main
$P1 = new ['ResizablePMCArray'], 1
$P2 = new ['ResizableIntegerArray'], 2
$P1[0] = $P2
$I0 = 1
# Usual way
$P1[0; 0] = 7