Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Grammar-based text-processing tools

Name: Anonymous 2006-12-05 21:33

Gentlemen, I'm looking for grammar-based text-processing tools such as convert formats based on a BNF grammar (like XSLT, only good, non-XML-based (free language)), or a form-based form-generating validating editor based on grammar (so for example, if you define the INI files grammar, you get an INI file editor).

I can do flex/bison, but I don't want to write C for every thing I need to do; I'm looking for tools that will do this. Any ideas?

Name: Anonymous 2006-12-06 4:45

Name: Anonymous 2006-12-06 6:41

Prolog.

Name: Anonymous 2006-12-06 16:56

>>3
i was thinking the same

Name: Anonymous 2006-12-10 6:09

>>3

Fails for tail-recursion being the only means of looping.  Ever.

It wouldn't bother me so much if it didn't stack overflow because of it on very large lists.

Name: Anonymous 2006-12-10 7:00

antlr

Name: Anonymous 2006-12-10 7:04

http://spirit.sourceforge.net/ (part of the Boost library)

Name: Anonymous 2006-12-10 11:14

>>5
You are doing something wrong. Tail recursion should not stack overflow.

Name: Anonymous 2006-12-10 12:15

>>8
It should, unless the interpreter/compiler optimizes away the stack, and if that is possible in the relevant function.

Name: Anonymous 2006-12-10 12:19

>>9
Tail-call optimization is trivial, tard. If the compiler can't do it,  it's a shit compiler.

Name: Anonymous 2006-12-10 13:45

>>9
Scheme...

Name: Anonymous 2006-12-11 10:49

>>10
Yeah, we are talking about some sucky language that's not Haskell.

Name: Anonymous 2006-12-11 15:04

Your logic is retarded. Tail-call optimization is better.

Name: Anonymous 2009-01-14 14:15

Emacs

Name: Anonymous 2009-03-06 11:17


Grammar is ambiguous you   have to learn   how the compiler   It definitely makes   it easy to   compile for faggots   pussies or faggot   pussies Multimedia bullshit   for luser retards   power off key   WTF weird layouts   and rubber shit   all bullshit Right.

Name: Anonymous 2010-12-21 10:08

Name: Anonymous 2011-02-03 1:42

Name: Sgt.Kabu䗕kiman᪈禮 2012-05-28 21:06

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List