Forref

new topic     » topic index » view thread      » older message » newer message

--vtzGhvizbBRQ85DL

Forref is a parser that lets you write:

procedure test()
...
end procedure
sequence testid
testid = "test"
r_proc(testid, {})

instead of:

procedure test()
...
end procedure
integer testid
testid = routine_id("test")
r_proc(testid, {})

also gives block comments ($[..$]), $= (assign a val to var at declaration),
and select..case, wfor, each, until, whiles, loop.
until exits a loop when a condition is true, whiles exit when is isn't true,
loop acts as 'while 1 do', wfor is like for except you declare the var yourself
and can change the value in the loop.

To Be Done:

Goto, Continue, []= (x = {0}, x []= 1, x is now 1}

Rob, put this in the archives.

-- 
Linux User:190064
Linux Machine:84163
http://jbrown105.1avenue.com


--vtzGhvizbBRQ85DL
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="forref.tgz"
Content-Transfer-Encoding: base64

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu