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

World: r3wp

[Ann-Reply] Reply to Announce group

Geomol
24-May-2011
[2622]
And how to build sentences from words and values without irritating 
syntax to get in the way.

The benefit from having so many datatypes, which make functions work 
in many ways depending on argument datatype. One good example, I 
think, is READ, but you can probably find others.
Pekr
24-May-2011
[2623x2]
e.g. I always welcome the ability to check the changelog - nice addition 
with Changes.
Also:

>> 1 / 0
** Math error: attempt to divide by zero
** Where: /
** Near: / 0

>> why?
Opening web browser...
Geomol
24-May-2011
[2625]
Is it really a good idea to go deep into R3, with the situation?
Pekr
24-May-2011
[2626]
probably not, but why not outline the planned future? R3 is alpha, 
and it should be treated as such. R3 adds nice stuff - unicode, modules, 
control of boot sequence, devices, codecs, etc. Robert might face 
the questions of recent REBOL status anyway ....
Oldes
24-May-2011
[2627]
is there any future? Maybe postapocalyptic world where the only way 
how to comunicate is face to face or using ham radios.
Geomol
24-May-2011
[2628]
REBOL has fostered ideas in many people, and I'm sure, whose ideas 
will evolve into a future with better programming tools, than the 
world has today. So yes, I'll say there is a future.
Robert
24-May-2011
[2629]
I only have 6:40 mintues. So, I concentrate on REBOL as a language, 
not so much on R3 / R2 the products.
Kaj
24-May-2011
[2630]
Devices, codecs? Where?
Pekr
24-May-2011
[2631]
They are there, just not finished and optimal ...
Kaj
24-May-2011
[2632x3]
Where?
There are just some traces of them as an internal implementation 
detail. There's nothing you can do with them
There are reasons that you don't see anybody writing extra devices 
and codecs
Pekr
24-May-2011
[2635]
Kaj - I think  that you are not accurate, and that you even know 
it?. Codecs are useless, and even Carl later introduced the plan,of 
how to reimplement them. But devices? There is list of devices out 
there, no? http://www.rebol.net/wiki/DevicesThe other fact is, that 
those are not usable via extensions, but it does not mean the abstraction 
is not there?
Kaj
24-May-2011
[2636]
Yes, they're there, as an implementation detail of the internal abstraction 
of R3. The only place where some devices are exported is in the host 
kit, but they're hardwired there. You can port those specific devices 
to other platforms, but other than that, there's nothing you can 
do with the abstraction
james_nak
24-May-2011
[2637]
Robert, code, including gui's,  created by other code and then executed, 
is a great feature of Rebol.
Dockimbel
24-May-2011
[2638x2]
Robert: here is a proposition for presenting View + VID + REBOL coding:


1) Show this code on a slide, explain briefly what it does and run 
it: 
REBOL []

view layout [
	code: area 300x200
	btn "Run" [view/new layout load code/text]
]


2) Enter some VID code in the textarea, click Run and listen to the 
"wow" in the audience ;-)

You can type, for example:

across
text "Name:" f: field
btn "Say" [alert join "Hello " f/text]
BTW, you might want to patch the 'button VID style to point to 'btn 
for this demo. "button" would be much better for the code demo, but 
the look of "btn" is way nicer (and more modern).
Maxim
24-May-2011
[2640]
also, go to nick's page to get VERY cool 5-10 line scripts which 
are impressive.
Robert
24-May-2011
[2641]
Thx for the input, I'm going to see how to put all aspects into it.
Maxim
24-May-2011
[2642]
but one thing you need to highlight, is that for all of your needs 
(code, style, layout, server, client, templates, controls, localization, 
etc) you are using a single highly natural language.    This is the 
power of Dialects, (DSL). 


datatypes are also a great differentiator of REBOL... just run code 
and leave an HTML tag in the code, as-is... that is cool.  most languages 
require literal data to be assigned, but in rebol data IS an expression 
so as long as there are no syntax issues, you can just embed data 
within the code (for whatever reason you need it in source managing 
tools).
Robert
24-May-2011
[2643x2]
I have Dialects using VID and Doc's example to show: data is code, 
code is data.
Datatypes is good.
Maxim
24-May-2011
[2645x3]
show that you also use the same language for creating style sheets, 
new controls, sending a VID layout over tcp, etc.  just showing how 
small the code snippets are is enough I guess.


Make a little parallel between the web nonsense, and the simplicity 
of doing the same thing in rebol. (5-7 different languages, vs one)
cause even though people think other languages are simple, they still 
have to deal with using several completely incompatible languages.
(in today's "accepted" programming model)
Robert
24-May-2011
[2648x2]
How many standard words does R3 have?
Is it: length? system/contexts/lib
Maxim
24-May-2011
[2650]
I'd count the alphabetical listing of words in the dictionnary on 
the web.
Andreas
24-May-2011
[2651x5]
>> length? unique compose [(words-of system/contexts/lib) (words-of 
system/contexts/sys)]
== 633
well, ignore sys
what's usable from sys is imported into lib anyways
>> length? words-of system/contexts/lib
== 609
(which, for contexts, should be the same as length? system/contexts/lib 
anyway, but i'm sure brian will chime in on this issue later)
Robert
24-May-2011
[2656x2]
Ok, thanks.
I think I will save the last 40s to even include a Q&A section into 
my pecha kucha :-) because  Rebol is just that compact and simple, 
that I don't need 20 slides ;-)
Maxim
24-May-2011
[2658]
;-)
BrianH
25-May-2011
[2659]
It's length? system/words/lib right in a fresh console, otherwise 
there might be new words added.
Kaj
25-May-2011
[2660]
>> length? lib
== 609
BrianH
25-May-2011
[2661]
That too, since 'lib and 'sys are predefined in the lib and sys contexts 
for convenience.
Andreas
11-Jul-2011
[2662]
Wow, there are three languages less popular
 [than REBOL, on Github].


I wouldn't worry about those stats too much at the moment. It seems 
that projects are re-indexed when there is commit activity within 
the project. So some REBOL projects on Github are not yet correctly 
classified and counted.


On the other hand, the same probably holds true for other recently 
added languages.
Maxim
11-Jul-2011
[2663]
so you mean,  we should strive to be the last in the list?   ;-)
Geomol
11-Jul-2011
[2664]
IMO C is coming back. Simple, matured, works.

hmm

It probably comes back, but I find it too easy to make mistakes in.
Pro is also, it's fast at execution.
Good libraries might help with the mistakes.
Robert
11-Jul-2011
[2665]
Than D2 is a good choice
Geomol
11-Jul-2011
[2666]
Big pro for C is also, that it comes in an ANSI version. It runs 
about anywhere.
Maxim
11-Jul-2011
[2667]
that is the exact reason I am coding Liquid in C and not in C++. 
 my project will build on anything out there, or can be easily converted 
to any other language.   furthermore, C allows me to do more advanced 
OOP tricks than C++ allows... things like run-time class mutation 
(required for liquid)
nve
14-Jul-2011
[2668]
Sorry, @maxvessi : works great under Windows 7 Opera and Firefox 
!
Steeve
14-Jul-2011
[2669]
Hmmm strange I don't have a plugins directory (firefox + Win 7 x64)
MikeL
14-Jul-2011
[2670]
MaxV: Sounds great.  Is this an implementation of a REBOL plug-in 
without resorting to ActiveX?  I thought earlier attempts hit the 
wall on providing a solution that did not pose an unworkable security 
exposure.
nve
14-Jul-2011
[2671]
@Steeve: me too, I have to create it and it works !