r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Rebol School] Rebol School

denismx
4-Apr-2006
[129x2]
Reichart, you are working on defining the paradigm of the language. 
I think that is the right direction to follow to generate a faster 
learning map of Rebol.
No pointer math, like in Java. But maybe they are pointers anyway, 
of similar.
Anton
4-Apr-2006
[131]
Words usually automatically "decay" (in rebol terminology they "reduce") 
to their associated value (if they have one).
denismx
4-Apr-2006
[132]
Ok, Anton, word is the word :-)
JaimeVargas
4-Apr-2006
[133]
On last form is 'MY-WORD (Notice the single quote) it is a way to 
way to 'quote' a symbol this is useful when doing DATA as CODE. Another 
major concept in rebol.
Anton
4-Apr-2006
[134]
If that value is a "hot" one (like a function!) then the get-word 
syntax  (:word)  will prevent the evaluation whilst still allowing 
you to get the value.
denismx
4-Apr-2006
[135]
And the idea of a graph giving the family tree of the language is 
terrific.
JaimeVargas
4-Apr-2006
[136]
That is in rebol the data remains data until it is interpreted. It 
is not transform into some bytecode or something else it is just 
data.
eFishAnt
4-Apr-2006
[137]
you can always probe system
denismx
4-Apr-2006
[138]
Yes Jaime, what you are explaining is indeed a fundamental concept 
in Rebol. And one that has to be mastered early.
JaimeVargas
4-Apr-2006
[139x2]
denismx regarding the books I mention even though they are not about 
rebol. They introduce a lot fo the concepts of Rebol.
Rebol is a decendant of Lisp the first functional programming language. 
So understanding this it will help you get the gist of rebol.
denismx
4-Apr-2006
[141x2]
I see. Hum... but that would add up another language to the too many 
I have in my head now :-)
I'm starting to mix them up sometimes. Not good in class! :-))
Anton
4-Apr-2006
[143]
Yes, if we have a word set to a value like this:
	word: 123
then there is a series of possible "reductions" possible:
	'word  ->  word  ->  123

Likewise for a function:
	word: func [][print "hello"]
The reductions:

 'word  ->  :word (gives unevaluated function)  ->  word (evaluates 
 the function to print "hello")
eFishAnt
4-Apr-2006
[144]
>> source send   ;you can get the source code of a function by using 
the source command.  Documentation is built-in.
[unknown: 9]
4-Apr-2006
[145]
One very small but interesting thing about Rebol that makes it different 
than almost 20 languages I can think of………..that is that it helps 
to learn Rebol like you would a spoken language in sentences, not 
words.
JaimeVargas
4-Apr-2006
[146]
An alternative is to learn denotational semantics, or lambda calculi, 
but this is only useful to CS major trying to proof properties of 
a language, it doesn't help build the intuitions of the language. 
But I will not discourage to go that route if you please.
denismx
4-Apr-2006
[147]
I start writing code in C while talking, and suddenly I'm writin 
Pascal... !!!
[unknown: 9]
4-Apr-2006
[148]
Yup!
Pekr
4-Apr-2006
[149]
:-)
Anton
4-Apr-2006
[150]
Oh man, have you ever done any web development ?
[unknown: 9]
4-Apr-2006
[151]
LOL
james_nak
4-Apr-2006
[152]
Should anyone mention that Rebol is very addictive? It may be too 
late for denismx.
[unknown: 9]
4-Apr-2006
[153]
: )
Anton
4-Apr-2006
[154]
As far as I understand, rebol is written in C, incidentally.
[unknown: 9]
4-Apr-2006
[155]
Shhhhhhhhhhhhhh.......................first one is free.
james_nak
4-Apr-2006
[156]
LOL
eFishAnt
4-Apr-2006
[157]
The reason that University of Uppsula in Sweden teaches Scheme first 
(and Grinnel College as well) is that you don't learn the bad habits 
of C/C++ and you learn the process of abstraction, and the beauty 
of elegance, and purer algorithms.
Pekr
4-Apr-2006
[158]
web su.ks ... just tinkering with css, html, and all that MLs, which 
do give you different results in different interpreters, ehm, browsers 
:-)
james_nak
4-Apr-2006
[159]
R, and you call it "SafeWorlds!"
eFishAnt
4-Apr-2006
[160]
Once they discover REBOL, they will move to it.
JaimeVargas
4-Apr-2006
[161]
Because C is a good abstraction of current hardware architectues. 
(It is a just bit better than assembly).
denismx
4-Apr-2006
[162]
I've given up on web dev about 10 years ago. Used to teach it then.
eFishAnt
4-Apr-2006
[163]
james: LOL
Thør
4-Apr-2006
[164]
and to I've just been  "reintroduced" to web dev...
denismx
4-Apr-2006
[165]
Still in constant contact with one of my students of that period. 
He's become quite an expert at web dev . I ask him when I need something 
;-0
eFishAnt
4-Apr-2006
[166]
heuristics.  If you had taught him REBOL, just think where he would 
be today.  You could ask him anything.
Thør
4-Apr-2006
[167]
to I've -> to think I've
Pekr
4-Apr-2006
[168]
part of my jog nowadays is get into XML, XSLT and that stuff ... 
we just upgraded SAP, and it generates some docs for us, which are 
ok in IE, not in FF (totally screwed) and on friday I visit IBM to 
see XForms and I will ask those guys, if it makes sense to go that 
route ... it seems like going to hell ... :-)
JaimeVargas
4-Apr-2006
[169]
denismx I really recommend you to read at least the free chapter 
of the CTM Book http://mitpress.mit.edu/books/chapters/0262220695chap1.pdf
denismx
4-Apr-2006
[170]
I'm addicted to Rebol since a few years back in fact. But never got 
to the point of the newcomer stage in the learning process. One excuse: 
to many distractions elswhere.
eFishAnt
4-Apr-2006
[171]
no prob.  REBOL is more than 20 years ahead of its time.  If it takes 
you 5 years, you are still way ahead of the crowd.
denismx
4-Apr-2006
[172]
eFish... that's my plan: to learn just enough to start teaching it. 
Then I'll actually start learning it, in fact ;-)
Pekr
4-Apr-2006
[173]
eFishAnt - I always liked your optimism :-)
JaimeVargas
4-Apr-2006
[174]
If I had time I will translate the examples there to Rebol. Maybe 
you can do that while you learn. I can help you. My first attemp 
was to make the Class Factory from the book. I got it. However Oz 
the language of the book has bit better security than Rebol. But 
any how I was able to do this and in the process I learn a lot of 
good programming techniques.
[unknown: 9]
4-Apr-2006
[175]
Pekr, given your level, what is there to learn in XML.  "you" site 
down for 1 hour, read about, furrow your eyebrow, and your done.
denismx
4-Apr-2006
[176]
Ok, Jaime... will read that chapter.
Pekr
4-Apr-2006
[177]
hmm, maybe I should start thinking working for guys like IBM, and 
infect them from the inside :-) they are technology open-minded ....
[unknown: 9]
4-Apr-2006
[178]
Denis, this might be so obviouse that no one mentions it............but 
AltME is written 100% in Rebol, as is our massive online site Qtask.