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

World: r3wp

[!Liquid] any questions about liquid dataflow core.

Maxim
3-Jan-2007
[49]
that is the look of GLayout's style.  basically, its the button color, 
any color works.
Mchean
3-Feb-2007
[50]
Maxim: can you post the download url''s I wanted to play around possibly 
to see if I can understand what you are getting at.
Maxim
4-Feb-2007
[51x3]
new release of liquid: 

to download the file:          http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=liquid.r

for some docs on liquid:   http://www.pointillistic.com/open-REBOL/moa/steel/liquid/index.html
micheal, the !plug quickstart is a good way to begin understanding 
the basics:


http://www.pointillistic.com/open-REBOL/moa/steel/liquid/plug/plug-quickstart.html
the version 0.6 ref document is here: 


http://www.pointillistic.com/open-REBOL/moa/steel/liquid/plug/plug-reference.html
Geomol
4-Feb-2007
[54]
>> do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=liquid.r
connecting to: www.rebol.org
Script: "LIQUID - core dataflow programming engine." (4-Feb-2007)
** Script Error: slim has no value
** Near: slim/register [
Maxim
4-Feb-2007
[55x2]
this is not a bug... liquid is a slim module.  you must have slim 
loaded first
the quickstart explains how ... its VERY easy.  ;-)
Anton
4-Feb-2007
[57x3]
Why can't you just do this:
do %slim.r
do %liquid.r
?
Surely that would be more rebolish ?
But the launching of programs is something to be thought about deeply...........
Maxim
4-Feb-2007
[60x9]
these are managed modules.
slim is not about loading code.  'do does that.
slim is about managing the internals ... both technically and politically. 
 its about providing a unique and consistent code model to allow 
tools to wrap around this.
we could probably wrap the code in the way you specify. but then, 
slim allows you put your code anywhere...
so the above would not work.
so while people have been waiting 5 years for the promise of modules, 
I have been using them.  and when Carl released his spec... I did 
85% of it in exactly the way he suggests.  even in some details like 
'exposing code.
so I don't wait, yet am very "rebolish" ;-)
obviously its not perfect, obviously I can do code protection, but 
then, Im alone, people want to do their own... so they can always 
do so.
Robert tried slim and in 15 minutes adopted it.
Anton
5-Feb-2007
[69]
Are you saying you can't do that ?
Maxim
5-Feb-2007
[70x3]
do what?
do %slim.r
slim/open liquid 0.6.4
oops  typed a bit too quickly...	

do %slim.r
slim/open 'liquid 0.6.4
Anton
5-Feb-2007
[73]
So that's all that's needed ?

A problem with all these different module managers and include systems 
is that there is ignorance of what they actually do. When you post 
code like the above, I have no idea what it's going to do with the 
files, how they are going to be arranged on my harddisk etc., and 
what global words are going to be defined.

My old INCLUDE system and the new one I've been working on also suffer 
from this "gap of understanding".

I think the answer is a GUI option which shows in clear diagrams 
what is going on.
Maxim
5-Feb-2007
[74]
my library engine is fully documented for 3 years now.  a FULL reference.
Anton
5-Feb-2007
[75]
No, I mean the diagrams form part of the GUI (when a "show GUI" option 
is selected).
Maxim
5-Feb-2007
[76x2]
Anton, that is the POINT of slim... you control everything !
the library is not allowed to share any information in global space.
Anton
5-Feb-2007
[78]
Except you don't know how it works except by going to read the documentation 
first.
Maxim
5-Feb-2007
[79]
the module user exposes on demand, and even the context is unnamed, 
you assign it.... the above again misses code... man  its 2AM here 
I am sleepy.
Anton
5-Feb-2007
[80]
I am saying it's better for us to integrate a clear image / animation 
of what's about to happen, and what's happening, within the user 
interface.
Maxim
5-Feb-2007
[81x2]
oops  typed a bit too quickly...	

do %slim.r
liquid: slim/open 'liquid 0.6.4
what user interface?
Anton
5-Feb-2007
[83x2]
A GUI, when a hypothetical "GUI" option is chosen.
>> do %slim.r
'slim is defined, no choice about that.
Maxim
5-Feb-2007
[85]
you mean to install libs?
Anton
5-Feb-2007
[86]
Yes, hwo files are managed should be clear.
Maxim
5-Feb-2007
[87x4]
slim lets you put files where you want (in many dirs if you want) 
and even allows loaded-lib relative resource dirs.
if I say that a gui manager was needed... every reboler on this list 
would complain that its too complicated and would be scared that 
the lib manager does things behind the scenes.
hehe.
wrt the slim word... you can rename it in the slim.r file if you 
really want to... but its your call.
Anton
5-Feb-2007
[91x2]
Would it work, though ? I would have to do some investigation to 
see if it would work. Something I would rather not have to do.
must go, later.
Maxim
5-Feb-2007
[93]
ciao.
Mchean
9-Feb-2007
[94x2]
ok...i have briefly read the documentation on slim up to 2.5.  I 
have limited experience with rebol, so I'm trying to get clear on 
what problem it solves.
If i understand correctly slim allows you reuse libraries or modules 
in other programs by opening them as opposed to cutting and pasting 
the module into the rebol script?
Maxim
9-Feb-2007
[96x3]
its more like what value it adds ;-)  but the core featues are:
-loading external code, but in a managed way

-path resolution, allows you to put libs in one or many folders, 
a part from code and reuse.
-version verification.

-enforcing of a standard, where all the code is wrapped in one context 
and the use of 'set is illegal (nothing gets bound to global context)

-allowing the user of a lib the choice of exposing what words he 
wants in his code.
and even automatic renaming of exposed words.
and many more features, like vprint, engine for advanced management 
of verbosity and powerfull indented tracing of your code.