Dialecting Tutorial
[1/6] from: behrangsa::yahoo::com at: 17-Jan-2004 17:00
Hi
Where can I find some online dialecting tutorial?
Thanks in advance,
Behrang
[2/6] from: greggirwin:mindspring at: 18-Jan-2004 10:40
Hi Behrang,
BS> Where can I find some online dialecting tutorial?
Brett Handley has written a PARSE tutorial:
http://www.codeconscious.com/rebol/parse-tutorial.html
though it may not be what you had in mind as a "dialecting" tutorial.
The Core docs have good info on PARSE as well. One of the best sources
is this list. The library has some nice examples posted, but there are
PARSE gurus here that can answer specific questions, and sometimes
provide solutions to specific problems.
When you get ready to dig into some code, VID is a great example of
what you can do--but it's not light reading. It's not that there's a
lot of code, but it is very dense.
As far as tutorials on dialect (domain specific language) design, you
could use non-REBOL resources for that:
http://homepages.cwi.nl/~arie/papers/dslbib/
Some other links I had to some related items seem to be dead :(, and
the books I have relate to the implementation aspect, not the language
design aspect.
-- Gregg
[3/6] from: gerardcote:sympatico:ca at: 18-Jan-2004 16:00
Hi Behrang,
You wrote:
> Where can I find some online dialecting tutorial?
>
Gregg already answered you before but I also remember some article appeared
in the REBOL Zine some time ago. After some search from the REBOL.ORG
(or REBOL .NET) for the initial link I found at least one tutorial written by
Robert Muench, the author of REBOL DOC PRO. You'll fint it at the following link :
http://www.rebolplanet.com/zine/rzine-1-06/#sect4.
May be you'll find more about this rich subject looking around from there.
For example you'll find texts explaining about many real dialects like :
- TUI (Terminal User Interface) as designed, coded and explained by Ingo Hohmann;
- MAKE-DRAW a parser-based function enhancement to the DRAW dialect
already available under View as designed, coded and explained by Cyphre.
HTH !
Regards,
Gerard
[4/6] from: cyphre:seznam:cz at: 19-Jan-2004 18:30
Hi all,
As I see Gerard mentioned some older version of the MAKE-DRAW dialect. For
those who are interested, today I hacked a demo using updated version of
this 2D vector dialect parser.(needs probably faster machine because of
complexity of used vector gfx) You can check it at:
do http://www.sweb.cz/fractalus/lion.r
enjoy it!
regards,
Cyphre
[5/6] from: greggirwin:mindspring at: 19-Jan-2004 10:56
Very nice Cyphre!
-- Gregg
[6/6] from: atruter:labyrinth:au at: 20-Jan-2004 9:42
Cyphre,
elegant example of how draw can be "extended". Thanks for posting that.
Regards,
Ashley<