Re: arm-chair language designers

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

Robert Craig wrote:

> If people are getting bored, then I suggest
> that they extricate themselves from their
> arm-chair language designer chairs, and write
> some useful code.

Or they could write your own programming language.

I've finally gotten around to polishing up my Yacc clone (called "Ox"), and
just submitted it to Robert. In case it doesn't make it to him before he
heads out of town, you can also get it from:

   http://www.lanset.com/dcuny/download/ox.zip

Ox is limited to LL(1) grammars, but that's not really that very hard to
use. It's a combination of Yacc (for the grammar) and TextPad .syn files
(for the parser defaults). There's even some documentation, and example
code.

Ever wonder what Euphoria would look like if Robert implemented my every
whim? Wonder no more! Among other goodies, Ox includes my latest toy, a
scripting language called 'Py', a mixture of (mostly) Euphoria, Python and
Dialect. It's in early alpha, just barely able to run the Queens demo
(rewritten in Py, of course). Features include:

   - Variables created by assignment
   - No type declarations
   - '=' behaves like in QBasic
   - Multiple left-hand assignments
   - Short circuiting in expressions
   - No type checking
   - 9 builtin functions
   - Entirely incompatible with existing Euphoria code
   - Runs fast on a PIII processor

Hehehe. smile

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu