World: r3wp
[Dialects] Questions about how to create dialects
older | first |
gcaplan 13-Jan-2011 [676] | Ah - I see what you mean. Thought that you meant that someone has implemented a Forth like dialect in Rebo. |
Steeve 13-Jan-2011 [677] | A Dialect is not related with specific coding practices. You can use parsing or not. It's just an interface. You should read the theory to begin with. |
Maxim 13-Jan-2011 [678] | funny that most dialect start small then grow quickly, so there probably aren't a lot of smalish dialects around. |
GrahamC 13-Jan-2011 [679x2] | I think ASM dialects have been written ... |
Gregg has a LOGO dialect I think ... | |
Maxim 13-Jan-2011 [681] | there is an exensive BASIC interpreter dialect, but that's also quite large as a learning curve. |
gcaplan 13-Jan-2011 [682] | I like Graham's idea of writing out the sentences - something to tangible to start from. I'm familiar with the idea from relational data design. |
GrahamC 13-Jan-2011 [683x2] | Also, there's one on reboforces.com on a screen control dialect |
there's a SQL dialect too | |
Maxim 13-Jan-2011 [685] | the way I approach dialects ususally is very similar to describing "ideas" using real language. |
Steeve 13-Jan-2011 [686] | A dialect is an interface to hide code complexity. It's only that. |
Maxim 13-Jan-2011 [687] | one key thing to explore is to use the full arsenal of datatypes at your disposal. some of the more obscure datatypes are VERY usefull in dialects. types like tag! issue! are rarely used in rebol, but are very usefull as variations on strings in order to classify them as different types of stings. |
gcaplan 13-Jan-2011 [688x2] | Screen control sounds good - not too big or wooly - I'll take a look. SQL would be directly relevant to my project, so I'll definitely dig that one out. Do you mean SQL-PROTOCOL or is there something more recent? |
Maxim - thanks for the tip on the datattypes - the kind of in-the-trenches technique that a newbie like me would overlook. | |
GrahamC 13-Jan-2011 [690] | Anyway, I think if you just get started it will fall into place |
Maxim 13-Jan-2011 [691] | another thing which helps is to be (rather) fluent or at least aware in how REBOL handles the evaluation of words and how to bind words to different blocks. mastering this will help you go at a new level in your dialecting. keep this for your second pass at learning if you're still new to REBOL itself. |
gcaplan 13-Jan-2011 [692] | Well, you guys have given me a good starting point, which is what I was hoping for. Have to sign off but I'll get my hands dirty over the next couple of weeks and maybe come back with some more specific questions. Thanks to all! |
Maxim 13-Jan-2011 [693] | glad to help. |
Gregg 13-Jan-2011 [694] | Geoff, don't be afraid to sketch out ideas of your ideal language, with different approaches and tradeoffs, and then posting them here for people to comment on. Language design isn't easy, and you can paint yourself into a corner, or make it too hard to implement easily by making it do too much. Start small and come up with the core ideas that define the feel of your language, and keep other questions in mind. What are you descrbing? What are the things and what are the actions? Do you need to refer to things you've defined within the dialect, or does it just pre-process and build structures for regular REBOL processing? |
Sunanda 18-Jan-2012 [695] | Anyone got any tools for emitting docs in EPUB format? Please!? |
Henrik 18-Jan-2012 [696:last] | Don't know any, sorry. |
older | first |