AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 2 |
r3wp | 21 |
total: | 23 |
results window for this page: [start: 1 end: 23]
world-name: r4wp
Group: #Red ... Red language group [web-public] | ||
DocKimbel: 14-Oct-2012 | Ok, it seems we'll have to return to an explicit callback declaring syntax. In cURL, the callbacks passing (get-word! syntax) occur after the callback declaration, so when the compiler is creating the callback prolog, it has no way to guess that this particular function will be used as callback later.... | |
DocKimbel: 14-Oct-2012 | I will push the fix for callbacks correct prolog/epilog generation in a minute. |
world-name: r3wp
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public] | ||
RobertS: 5-Aug-2007 | re: comments in 'core' on the plague of MI ... multiple inheritance works rather nicely in Curl since you are required to provide 'secondary' constructors - I prefer prototype-based with an option for class hierarchies, personally ( try experimenting with Logtalk if you can find time ). I am watching Io, the language, evolve as Rebol3 emerges: what is interesting to me is that I ask 'But is that Oz ?' in Oz. ( which is multi-paradigm ) I used to hear a lot of 'getting it' about Prolog and Smalltalk. After almost 2 decades in both, I think many of them "didn't get it" ( class hierarchy obsessed, as ST purists are/were ). Ruby is so much like Smalltalk that I am quite enjoying watching Groovy play catch-up with Ruby Most issues in Rebol have a parallel in Javascript; where ( for the neophyte) experiments with typeof in a console is about the only way for the average developer to 'get it' given d1 = Date // now you use d1 as a function d1() d2 = Date() // d2 is a string that looks like a number d3 = new Date() // d3 is an object but it is UTC but it is presented local time but it is compared UTC .... or s1 = "string" s2 = String("string") s3 = new String('string') s3[1] = 6 // s3 is an object, as typeof of reveals; String 'equality' in JavaScript even with === is no end of grief and for what convenience ? s3["size"] = 6 or a1 = Array(42) a2 = new Array(42) I think the latter 2 show just how rushed LiveScript was pushed/forced out to market as "LavaScript" before the Sun "StrongTalk" folks had much influence on the Netscape folks .... Rebol3 is in better hands than 'ActionScrtpt' as it drifts into classes - because it is being kept 'in hand'' The changes in Groovy as it complied with the JSR for Java scripting are interesting ( Groovy is almost neat as Rebol would be if it were confined to, say, living on top of VisualBasic ;-) Now to avoid 'Rebol on Rails' ... I think some people who adopted Spring to cope with Java would appreciate Rebol ( there, too, you have to 'get it ' ) MySubClassObject.prototype = new MyParentClassObject() // now go mess with THAT object before it is useful ... // ... MySubClassObject.prototype.superclass = MyParentClass // to fake having a superclass other than Object cannot be much easier to "get" than anything about Rebol use ; now mostly use /local and bind ; modifies the block it is passed; use COPY refinement to preclude this side-effect Smalltalk80 was like "Rebol4" as compared to the first passes at an O-O language ... someone who actually understands Smalltalk contexts/blocks and JavaScript should 'get it' with Rebol ( some of those people are using Seaside with Squeak, Dolphin and/or VisualWorks ST ) my 2 cents: a1 should have been an array of fixed size and only a2 should be a Vector object | |
RobertS: 5-Aug-2007 | I meant that I don't much ask ''But is that Oz?" the way we ask "but is that "Rebol?" or "But would that be Rebol?" It comes from my aversion to the questions/attacks of purists who insisted that Turbo Prolog was not really a PROLOG. Neither is what Prolog became (Prologia IV) The Slate team for Smalltalk3 ( if you think of JavaScript as Smalltalk2 [heresy] ) now have Self and Strongtalk to look over with 15+ years of hindsight. It appears to have slowed them down a lot. I can't wait to get my hands on that Rebol3 beta ... PS if you don't think JavaScript was Smalltalk2, just look at Io, the language ;-) PPS the author of CTM was probably asking himself "But will they see that this is not Oz? " with every chapter (Peter Van Roy, 'Concepts, Techniques and Models of CP', MIT Press) - the O-O chapter is arguably the worst flaw in a fine MIT intro book - unless it is the flaw of totally ignoring JavaScript as a functional prototype-based lang. ( and I don't recall mention of Curl or Rebol ) Another language evolving: Cecil into Diesel | |
RobertS: 25-Aug-2007 | ;One tip if you are new like me save %hist_001.r system/console/history ; then in user.r system/console/history: load %hist_001.r : when you have materials worth reviewing as you learn .... ; PS I meant 'former' as model, i.e, "Little Schemer" "Seasoned Schemer" "Reasoned Schemer" Prolog has the 'Art of .. ' 'Craft of ' and 'Practice of Prolog' series | |
Henrik: 25-Aug-2007 | robert, we are building a Wiki for R3. would you be interested in doing smalltalk vs. prolog vs. other-languages-you-know vs. Rebol? | |
Group: Parse ... Discussion of PARSE dialect [web-public] | ||
BrianH: 1-Nov-2005 | The control flow of parse is more like that of Prolog or Icon than it is like Pascal. "Then" is a Pascal thing. | |
Volker: 1-Nov-2005 | I am ok with that. after thinking about prolog&icon withthe if too. | |
Steeve: 7-Mar-2007 | the goal was to resolve rules (like described with prolog) | |
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
RobertS: 23-Sep-2007 | It's just an HTML alternative ( HTML+CSS+JavaScript ) I was once an OS.2 Zealot and a Prolog Zealot. I love Rebol, but it will not make me either a Rebol bigot or a Rebol zealot. Even a good advocate should not come across as either ... Curl is not server-side; it is just client-side. If what you have is a 'layout', why transform to HTML just to get a page into a browser while waiting (6+ mo) for a Rebol plug-in ? Curl is a web content language. It's good for that. And it has great sliding panes and all just like scriptaculous but a s simple and consistent as good Rebol code. Think of it as Scheme/Dylan for web pages instesad of HTML. | |
Group: Rebol School ... Rebol School [web-public] | ||
denismx: 4-Apr-2006 | I'm glad you agree that Rebol requires a different road map to learn than, say, C++ or Pascal, or even Prolog and such languages. I know a few languages, having been a programmer for a living in my younger days. Now I teach programming for young students starting in science (18 years old +) | |
denismx: 4-Apr-2006 | well, I know and have written small programs in Prolog too. | |
denismx: 21-Apr-2006 | I'm sure it does, but my impression is that I don't have any problem with that concept. I programmed in Logo and Prolog (for teaching purposes, not commercialy). The idea that I can build Rebol statements in blocks and evaluate them, all at runtime, does not phase me. But I'm always willing to learn more of anything. It never hurts (much). | |
denismx: 27-May-2007 | Read those a couple of times. I teach C++. Know a dozen more languages, including Prolog. | |
Group: !REBOL3-OLD1 ... [web-public] | ||
Maarten: 12-Feb-2009 | Erlang uses their own lightweight process implementation (like you could write in REBOL .... hint); remember that the first version were written in Prolog. The Erlang VM uses all cores on a machine. The "no shared memory" aprroach makes this easy. R3 should be able to utilize multiple cores. Then with async networking and people finally understanding dialecting who needs tasks? Just roll your own. | |
RobertS: 17-Jul-2009 | I am trying to think through this as a "clade" and not a fixed "hierarchy" ... as in every case of c2.com as a "terminal" tag there is a common "phylogenic" ancestor in "smalltalk" or "wiki" Tagging is usally seen as in conflict with hierarchical ontoly and I am trying to get my head around this in looking at REBOL versus ICON to parse thses cl1p.net paths if I opt to go with them. Gabriele last looked at some of my odd notions here ... they come from working in a PROLOG variant ... | |
Group: Postscript ... Emitting Postscript from REBOL [web-public] | ||
Graham: 9-Apr-2006 | John, just reading that link you gave to a postscript document structure, and I think we should change the prolog to say %! instead of %!PS-Adobe-3.0 as the latter says that the document is fully conforming. | |
Graham: 9-Apr-2006 | The prolog is quite important to allow document managers to manage the postscript file properly. It was interesting to note that postscript file managers can pull out the colour graphic pages and send them to be printed on colour lasers, and let the rest be printed on the monochrome lasers. | |
Geomol: 13-Apr-2006 | New version of postscript.r uploaded! I've add the prolog %! and epilog %%EOF as Graham suggested. I also wrapped paths in the postscripts commands gsave and grestore, so transformations give less trouble. Try this: do http://home.tiscali.dk/john.niclasen/postscript/postscript.r write %test.ps postscript load http://home.tiscali.dk/john.niclasen/postscript/test.txt You now have a postscript file "test.ps" produced by the dialect. It's content looks like this: http://home.tiscali.dk/john.niclasen/postscript/test.png To see, how using the dialect look in use, see the "test.txt" file. | |
Graham: 13-Apr-2006 | my output file is a little shorter than yours, but only because I didn't bother creating the prolog / epilog | |
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public] | ||
Gregg: 23-May-2008 | A good starting point for doc links is http://www.erlang.org/doc.html . The pros are that it's been around for a long time, it was built to solve a specific type of problem, and has been proven to work for large commercial systems. It also has a nice community it seems. Just as C# and VB.net are capable languages, you really need to know the .NET framework to make things sing. Erlang, by itself, is very capable, but the OTP (Open Telecom Platform) provides a huge amount of value on top of it, if you're building distributed systems. It also has Yaws, Ejabberd, and other things already built that you can leverage. On the downside, it's a very different model that takes some getting used to, though Maarten got up to speed for experimentation very quickly. If you're used to Prolog, that will help. It's also really only good for back end stuff, so we would still be doing front ends in something else, which wasn't the dealbreaker in our case. What turned us away was the security model. It's designed for use in an intranet type (read safe) environment, where access to machines on the cluster is controlled by secret cookie. If your cookie is compromised, they have absolute power over the node, and any nodes it shares that cookie with. http://www.erlang.org/doc/reference_manual/distributed.html#11.7 We decided that, since we would end up building security on top of everything, using something like dialects for control, we were better off sticking with REBOL. There are a number of things out there already to bulid on (LNS, Rugby, Uniserve, BEER), we can really do things the way we want, in a tool we know we like and are comfortable with. And we know its limitations, so there will be fewer surprises. | |
Group: Red ... Red language group [web-public] | ||
Kaj: 27-May-2011 | You'll still need prolog and epilog syscalls, and I think Doc wants to minimise libc usage | |
Andreas: 27-May-2011 | what prolog/epilog syscalls? |