World: r3wp
[Rebol School] Rebol School
older newer | first last |
Geomol 8-Feb-2009 [1662] | kib, to avoid confusion, remember that everything in REBOL is a word. The word in itself doesn't have a certain meaning. The words have meaning, when used in a context. The same word can mean different things in different contexts. And you can redefine everything, even things like: + and - |
Janko 8-Feb-2009 [1663] | Geomol: something like you and I described would probably be possible to do in library , probably not that effective but it should surely be possible |
Geomol 8-Feb-2009 [1664x4] | When thinking deeper, I'm not even sure, what I just said is completely true. haha |
Isn't REBOL wonderful!? ;-) | |
I guess, a number like 1 can't be said to be a word, and it can't be redefined. But you can make a dialect, in which 1 means something else. So you have words, numbers, blocks, etc. The words can be redefined to suit your needs. | |
kib, you should also read about all the values at some point, appendix 1 in the Users Guide: http://www.rebol.com/docs/core23/rebolcore-16.html | |
kib2 8-Feb-2009 [1668] | Geomol: That's really cool; data is code and vice versa, like in Lisp ? |
Geomol 8-Feb-2009 [1669x2] | I don't know much about Lisp, but I guess, yes. |
Crazy example: >> set '+ :- >> 5 + 3 == 2 | |
kib2 8-Feb-2009 [1671] | so is there something like quotations in Lisp ? ie something to get a word not to be evaluated |
Henrik 8-Feb-2009 [1672x2] | yes, "code is data is code" is essential to REBOL. |
that's lit-word | |
kib2 8-Feb-2009 [1674] | Geomol: you answered my question ! It's the ' operator, that's it ? |
Geomol 8-Feb-2009 [1675x2] | yes |
>> a: 2 == 2 >> b: a == 2 >> c: 'a == a | |
kib2 8-Feb-2009 [1677x2] | hehe |
wondeful | |
Steeve 8-Feb-2009 [1679] | oh cool... Kib2 our french math professor (I was worried that you quit too early Rebol) |
kib2 8-Feb-2009 [1680] | Steeve: In fact I've leaved because Carl was not in the mood for releasing a public R3 (see my posts on his blog). Then he was kind enough to change his mind... |
Steeve 8-Feb-2009 [1681] | i saw your comments, that's why i was soo worried ;-) |
Janko 8-Feb-2009 [1682] | also blocks don't evalueate , thats thy you can make your own >>do-five-times [ print "ups" ]<< which is a stupid example :) |
Steeve 8-Feb-2009 [1683] | Kib2, is that your blog ? it's nice http://thewrongsideofcode.blogspot.com/ |
kib2 8-Feb-2009 [1684] | Steeve : you don't have too. I'm playing with it at the moment (with R2), and I really enjoy it. |
Geomol 8-Feb-2009 [1685] | I think, that's one of the biggest reasons, we stick around with REBOL. Suddently it's very much fun programming again. :-) |
kib2 8-Feb-2009 [1686x2] | Janko: I like this, and in fact it's also the Factor way of doing things. |
Steeve: that was mine (I've 3 posts then I've stopped it) | |
Janko 8-Feb-2009 [1688] | yes, thats why I said about blocks because they look similar than factor quotations |
kib2 8-Feb-2009 [1689x2] | Steeve: my real blog is here : http://thewikiblog.appspot.com/ |
What editor do you use on Windows ? | |
Geomol 8-Feb-2009 [1691] | vim |
Janko 8-Feb-2009 [1692x2] | but quotations in factor are still more special case, you have curry and few words for them , but in rebol code block is the same as ordinary data block ( like a sequence { asdasd asd asasd } in factor so you can use insert append remove next ... etc on it .. I imagine factor is more limited here because it compiles things, here you can process your block of code just the same as data and then run it |
emacs | |
Steeve 8-Feb-2009 [1694x2] | texpad |
(textpad) | |
kib2 8-Feb-2009 [1696] | I've downloaded the EMacs mode, but I'm unable to launch my code inside it. I also have a etexteditor bundle for Rebol. |
Janko 8-Feb-2009 [1697] | I use that more too and it works.. I don't remember if I changed anything |
Steeve 8-Feb-2009 [1698] | i don't like colorization of code, so that a simple text editor with macros (to launch rebol) is enough |
Janko 8-Feb-2009 [1699] | hm.. I think you have to a line to your .emacs file .. just a sec |
kib2 8-Feb-2009 [1700] | Steeve: editing without colorization is really painful for me |
Janko 8-Feb-2009 [1701x2] | hm.. it seems I just copied that file into .emacs and added 2 lines (I just started using emacs) |
for me too | |
Steeve 8-Feb-2009 [1703] | bah... it's because you begin, after some time, you'll prefer without it :) |
Janko 8-Feb-2009 [1704x3] | you can find my file here http://www.refaktor.si/storage/ |
but then you have to loom much more to see what is what, don't you? | |
loom = look | |
Steeve 8-Feb-2009 [1707] | hum, i don't feel pain, my brain do colorization by himself :) |
Geomol 8-Feb-2009 [1708] | my real blog is here : http://thewikiblog.appspot.com/ I just visited, it looks interesting! |
kib2 8-Feb-2009 [1709x2] | Janko: thanks, |
Geomol: what are your interests ? | |
Steeve 8-Feb-2009 [1711] | what does pain, is an excessive code length but it's the point where Rebol is the best: short length of code |
older newer | first last |