A code generator written in AWK

  • Follow


Sir, Madam

If you're interested in Pedagogic issue,
here is a code generator written in AWK

http://perso.club-internet.fr/cdridi
http://perso.club-internet.fr/cdridi/orthorythme/iris/iris.awk

You need to compile the front-end called "evale3" before,
to pipe in awk script "iris" back-end.

Sincerely, yours.
Thank you all at comp.lang.awk


0
Reply Gilles 9/18/2004 8:42:59 PM

Gilles DRIDI wrote:

> You need to compile the front-end called "evale3" before,
> to pipe in awk script "iris" back-end.

Why did you use lex and yacc in the front-end ?
AWK is also a good tool for scanning and parsing.
As it is, the whole compilation process is so
complicated that I couldnt follow the explanations
on your web page.

Why didnt you build upon an existing notation format
like ABC ? It is also an ASCII format.

  http://staffweb.cms.gre.ac.uk/~c.walshaw/abc/
0
Reply ISO 9/18/2004 9:40:25 PM


I was interested in a language or notation when I started.
I found rhythm the more expressive than a full notation.
So I started with Rhythm.
Now, I thinking after taking a look to abc format that
my notation is poor compared to, but that it can be
extended easily.

To start with my software, you need to download
evale3.l and evale3.y and follow the compiling instruction
in the file evale3.fai.
Then you obtained an evale3.exe program.
Download a p?l.txt file, thus run evale3 < p?l.txt
the output can be piped to the backend iris.awk
(download iris.awk) like this :
evale3 < p1l.txt | awk -vbat=200 -f iris.awk >toto.sh
Then type toto.sh

"J�rgen Kahrs" <Juergen.KahrsDELETETHIS@vr-web.de> a �crit dans le message
de news:2r3o7vF164vd5U1@uni-berlin.de...
> Gilles DRIDI wrote:
>
> > You need to compile the front-end called "evale3" before,
> > to pipe in awk script "iris" back-end.
>
> Why did you use lex and yacc in the front-end ?
> AWK is also a good tool for scanning and parsing.
> As it is, the whole compilation process is so
> complicated that I couldnt follow the explanations
> on your web page.
>
> Why didnt you build upon an existing notation format
> like ABC ? It is also an ASCII format.
>
>   http://staffweb.cms.gre.ac.uk/~c.walshaw/abc/


0
Reply Gilles 9/20/2004 12:17:23 PM

2 Replies
295 Views

(page loaded in 0.045 seconds)

Similiar Articles:













7/22/2012 3:28:05 PM


Reply: