A recursive descent parser is probably sufficient.
I have written a lot of recursive descent parsers (even one of C language),
but I prefer yacc for mini languages.
--
Roberto E. Vargas Caballero
st? Not really, not yet. But enough to get what it's about and why
plumber might be ideal in this context. What's the most complicated
thing you do with it? How many cases does your setup differentiate? I
always found it be a pity that i couldn't find people share their
plumber setups.
On Sat, 10 May 2014 16:29:14 +0200
Roberto E. Vargas Caballero k...@shike2.com wrote:
st? Not really, not yet. But enough to get what it's about and why
plumber might be ideal in this context. What's the most complicated
thing you do with it? How many cases does your setup differentiate? I
I'm answering you in private, because I don't want to generate more
noise in the list. I have some problems reading your mail (I think we have
some understanding problem, maybe my english is not good enough).
Take this guy's plumber conf:
he's got about 7 rules in there.
$ grep -e menu -e
I'm answering you in private, because I don't want to generate more
noise in the list. I have some problems reading your mail (I think we have
some understanding problem, maybe my english is not good enough).
I'm a asshole, I didn't remove the CC line. Sorry people.
--
Roberto E. Vargas
On Thu, 8 May 2014 11:46:18 -0400
Wolfgang Corcoran-Mathe first.lord.of.t...@gmail.com wrote:
Quoth Robert Figura on Thu, May 08 2014 10:37 +0200:
Maybe i'm just paranoid or bad at explaining. Care to give me a
hint? What's been useful, what would you keep?
It may be just a matter of
On Thu, 8 May 2014 10:50:12 +0200
Dmitrij D. Czarkoff czark...@gmail.com wrote:
Robert Figura said:
A little more than two years ago i started coding some plumberlike in
gawk, and i think it's time for me to seek suggestions and share what
Why not POSIX awk?
Because some gawk
I felt i could get away with gawk, because the larger part of the
community considers gawk as _the_ awk.
Maybe you should change what community you form part.
It seems to me, even the creators of awk are endorsing gawk over other
implementations. The smell is there, maybe posix awk is dead?
On Fri, 9 May 2014 13:51:48 +0200
Roberto E. Vargas Caballero k...@shike2.com wrote:
It seems to me, even the creators of awk are endorsing gawk over other
implementations. The smell is there, maybe posix awk is dead?
I don't think so. Take a look to
Yes, and it says use at your own risk. Possibly because that update
only fixed compilation problems on current platforms.
It is also said in all the GNU programs, did you read the GPL?
Regards,
--
Roberto E. Vargas Caballero
I just said:
Read more, talk less.
On Fri, 9 May 2014 14:02:28 +0200
Roberto E. Vargas Caballero k...@shike2.com wrote:
did you read the GPL?
Yes. Pure horror. Why ask? To make me partake in your silly war? I
won't. Let me repeat myself:
Bottomline is, i might support efforts to make req
Read more, talk less.
did you read the GPL?
I'm slowly realizing i misread that. You were referring to this quote:
use at your own risk
Fine. Sorry. But i still doubt that implementation to be a reasonable
choice:
http://www.cs.princeton.edu/~bwk/btl.mirror/index.html
Kind Regards
-
Fine. Sorry. But i still doubt that implementation to be a reasonable
choice:
http://www.cs.princeton.edu/~bwk/btl.mirror/index.html
I wanted to remark that your assertion about awk authors and awk is not true
(you know, k of awk comes from Kernighan).
Regards,
--
Roberto E. Vargas
On Fri, 9 May 2014 14:42:22 +0200
Roberto E. Vargas Caballero k...@shike2.com wrote:
Fine. Sorry. But i still doubt that implementation to be a reasonable
choice:
http://www.cs.princeton.edu/~bwk/btl.mirror/index.html
I wanted to remark that your assertion about awk authors and awk
Btw, what did you mean by blow process? Arnold is one of the most
conservative maintainers i've seen in the gnu.
$ pwd
/usr/src/gawk-4.1.1+dfsg
$ wc -l *.[chy] | grep total
61385 total
$ pwd
/usr/src/awk
$ wc -l *.[chy] | grep total
On Fri, 9 May 2014 16:31:28 +0200
Roberto E. Vargas Caballero k...@shike2.com wrote:
Btw, what did you mean by blow process? Arnold is one of the most
conservative maintainers i've seen in the gnu.
/usr/src/gawk-4.1.1+dfsg
61385 total
/usr/src/awk
6442 total
I couldn't reproduce your exact numbers. But sure, gawk itself isn't
suckless. And?
I have removed the generated files [ytab.c and ytab.h].
I'm here because i believe a plumber variant to be of interest to some
people around suckless. I'm not here to write a new awk. I also don't
expect to
On Fri, 9 May 2014 17:15:42 +0200
Roberto E. Vargas Caballero k...@shike2.com wrote:
I couldn't reproduce your exact numbers. But sure, gawk itself isn't
suckless. And?
I have removed the generated files [ytab.c and ytab.h].
Thought as much, thanks for clearing that doubt.
[plumber]
On Fri, May 09, 2014 at 05:15:42PM +0200, Roberto E. Vargas Caballero wrote:
Yeah, write an awk version is a big challenge, and it is something that
for sure cannot be done without thinking a lot about it. It also has
the problem of adding a new dependency to sbase, yacc.
A recursive descent
On Fri, May 9, 2014 at 12:29 PM, q...@c9x.me wrote:
On Fri, May 09, 2014 at 05:15:42PM +0200, Roberto E. Vargas Caballero wrote:
Yeah, write an awk version is a big challenge, and it is something that
for sure cannot be done without thinking a lot about it. It also has
the problem of adding a
On Wed, 7 May 2014 21:24:52 -0400
Wolfgang Corcoran-Mathe first.lord.of.t...@gmail.com wrote:
Quoth Robert Figura on Wed, May 07 2014 18:26 +0200:
A little more than two years ago i started coding some plumberlike
in gawk,
[...]
Looks interesting and potentially quite useful. Perhaps I am
Quoth Robert Figura on Thu, May 08 2014 10:37 +0200:
Maybe i'm just paranoid or bad at explaining. Care to give me a
hint? What's been useful, what would you keep?
It may be just a matter of formatting and copy-editing. I may have
been reading this with man-page expectations, but the opening
On Wed, 7 May 2014 17:51:58 +0100
Dimitris Papastamos s...@2f30.org wrote:
tl;dr
Try the KEYWORDS, SHOW CASES and EXAMPLES sections.
all of your download links are dead.
Uah. Thank you! This should work:
https://github.com/robert-figura/req/
Kind Regards
- Robert Figura
23 matches
Mail list logo