World: r3wp
[Tech News] Interesting technology
older newer | first last |
Pekr 6-May-2007 [2105x4] | thas it Jaime :-) |
I think threre is no need to argue with folks there. What is more - they are "pro amiga" already, so they potentially respect Rebol :-) | |
the guy who looks to be hooked into Rebol now is typical example of user who might find rebol usefull - small configuration script writers, etc. | |
Intel have announced a new low-power processor and chipset architecture which will be designed to allow full internet use on mobile Internet devices. To fulfil the aims of our mission and in response to the technical challenges that these devices pose, we are announcing the Ubuntu Mobile and Embedded project. https://lists.ubuntu.com/archives/ubuntu-devel-announce/2007-May/000289.html | |
btiffin 6-May-2007 [2109] | What does everyone think about Microsoft's pursuit of Yahoo? Desperation or sound tactical move? I wasn't watching the tube, but it was on in the background, did I hear correctly that they are banting about a number in the $50'000'000'000 range? I think you'd hear the yahoo! from here in Canada. :) |
JaimeVargas 6-May-2007 [2110] | Henrick, What kind of Scheme help do you need ? |
PaulB 6-May-2007 [2111] | Henrick, I saw your post reply to my Macro comment on AmigaWorld.net. I'm trying to understand the difference, but maybe it is too early for me to understand it. Here is a link that describes what Common Lisp Macros are. http://www.lisp.org/table/macros.htm |
Gabriele 7-May-2007 [2112] | Paul: we've had this argument before, and I guess Jaime will not agree with me; also I've not read the posts on amigaworld, so i'm just talking in general about rebol and macros (sorry); anyway... rebol does not need macros. the reason is that lisp is a compiled language, so there is a difference between compile time and runtime. macros in lisp execute at compile time, functions at runtime. in rebol there is no such difference. you can write control functions in rebol without the need for macros, for example. |
Henrik 7-May-2007 [2113x2] | Jaime, it's probably too late now, but a person on Amigaworld.net wanted to know some of the main differences between REBOL and Scheme, as his first though was that REBOL looked a lot like Scheme without the parantheses. |
Gabriele, Paul was asking for the difference between macros and dialects as he thought they were the same. | |
Gabriele 7-May-2007 [2115x3] | actually there is no relation. a macro is some code that is executed a compile time, and returns some other code (that is then compiled). basically, before compiling, lisp expands macros, like the C preprocessor expands text macros (of course, since lisp macros work at the list level instead of the text level, they are more powerful). |
dialects, instead, are languages based on the rebol syntax. in a language you normally parse a text file into some internal representation, then you work with that representation (interpreting or compiling it) | |
in rebol, the internal representation is values, and you can do what you want with them. | |
btiffin 7-May-2007 [2118] | Gabriele; *poke*poke* I hope we get LOAD/RELAX. :) |
BrianH 7-May-2007 [2119] | Remembering that argument, I hope we get the opposite: Parse block rules for strings, a sort of parse dialect unification. |
btiffin 7-May-2007 [2120] | Well, something that will let Construction workers type in their own data is what I'm hoping for. Whatever the actual approach. Though, the easier for me the better. :) |
Mchean 7-May-2007 [2121x4] | Some more thoughts on the MS DLR http://vistasmalltalk.wordpress.com/ His other entries particularly the Ironpython and Smalltalk ones are also very interesting. |
The question is will the DLR as implemented on .Net and Mono provide a level playing field? | |
I think the DLR may be one of the more significant releases from MS in a very long time. | |
Will Rebol be able to play in this arena, and make use of Python, C#, Ruby, JS code? | |
JaimeVargas 7-May-2007 [2125x4] | Gabriele, Even though there Scheme uses two stages the line between compile time and runtime is not the same as in C. You can write macros during runtime that get compile on the fly and avaialbe without ever stopping a program. So in this sense the two phase is just process is not really important. The feature that macros brings is syntactic abstraction. Also in Rebol you can not do low level control structures. That is you can not add foreach without having a looping construct already in place. So the mezzanine is slow. Compare to delimited continuations of Scheme where is only control structure and recursion and optimized goto. You construct other control syntaxes on top of that. |
In Rebol adding control structures that are efficient requires coding in C. In Scheme adding control structures only requires Scheme. | |
The form use to introduce a macro is define-syntax. Which allures the their syntatic abstraction function. Macros in Scheme are extremly powerful and complete. I understand that dialect in Rebol can be as powerful, but the techniques required in Rebol for good dialecting fall in the interpreter construction realm, which depending on the dialect can require more or less effort from the programmer than a macro. Context protection in Rebol is something that is importat to consider. | |
An if you mix dialect lexicon reuse can get tricky. Scheme macros are hygenic meaing they take care of name clashing for you. | |
PaulB 7-May-2007 [2129] | Thank you Gabriele, I understand much better now. :) |
Gabriele 8-May-2007 [2130x2] | Jaime: that is debatable. continuations are the control structure. so it's hard to say that in rebol you need a native control structure while in scheme you don't - of course you do. :) also, be it JIT or not, compilation is still compilation. it requires knowledge about the code before evaluation. which means, that there must be a syntactic difference between code and data. |
also, if you accept to have a syntactic distinction between code and data, it is easy to add a macro preprocessor to rebol that works just like in scheme. (so easy that there's no need to have it in the language itself. try a scheme without macros, and try to add them in scheme itelf... ;) | |
Geomol 8-May-2007 [2132] | Just got an email about this: Micro Focus COBOL acquires Acucorp COBOL: http://www.acucorp.com/ Maybe it's time to do that COBOL dialect in REBOL!? ;-) |
Henrik 8-May-2007 [2133] | are there any language clones done with dialects at all? |
btiffin 8-May-2007 [2134] | I think %prolog.r from the library may count. |
Geomol 8-May-2007 [2135] | Didn't Gregg make a Logo dialect? |
Jean-François 8-May-2007 [2136] | Jaime, How about a Scheme dialect in Rebol ? ;-) |
Pekr 8-May-2007 [2137] | or Rebol dialect in Scheme? :-) |
Ladislav 8-May-2007 [2138] | anybody volunteering to test a new Include version? |
btiffin 8-May-2007 [2139] | I'll sign up. I was looking at your include.r just last night. |
Ladislav 8-May-2007 [2140x2] | the new version is at: http://www.fm.tul.cz/~ladislav/rebol/include2.r |
main differences: - /only refinement added (to only make a Rebol block containing the code) - Parse usage to speed the implementation up and to shorten it a bit | |
btiffin 8-May-2007 [2142x2] | Snagged. I'll be learning as I go, but I was doing that anyway. |
No breaks yet. include/only let's you include the source script. Kinda cool, as it lets you inspect preprocessor encapsulated #includes. Not for real work, but nice on the learning curve. | |
Gabriele 8-May-2007 [2144] | we need a smalltalk dialect and an erlang dialect. then everyone must agree that we rock. ;) |
btiffin 8-May-2007 [2145x2] | Ladislav; I can't give you much of a 'technical' report, but I tried to break the include sequences and failed. I'm starting to feel the power of this. I like the fact that scripts can end with context [#include %libfuncs.r] to let endusers pick their own name with mycon: do %libouts.r after an include/link Very nice. An easy grok, and I'll say I "get it" already and won't have to read your docs over and over to actually use it. (Well except maybe to refresh the #do [[ and (#do [false]) tricks, if I don't use them soon.) This really needs to be promoted. Here's hoping the DevCon talk gets this into the fore. |
Ladislav; as I mentioned before include/only is really really handing for interactive exploring...awesome. | |
Gregg 8-May-2007 [2147x3] | I started on a Logo interpreter, mainly just to do turtle graphics. I don't know how much value it has, but I'd be happy to send it to anyone that wants to pursue it. |
Since finding REBOL, I have thought it would be a nearly ideal tool to teach language and interpreter design and development, because you can do so at a very high level. I think Lisp, Forth, and Logo would be a great place to start, but there is no reason I know of that would prevent us from doing Smalltalk, Erlang, Icon, and others. I would LOVE to see that happen. | |
Seeing different languages implemented, even naÏvely, in a single language like REBOL would be a great learning tool IMO. | |
btiffin 8-May-2007 [2150] | How do lang "dialects" get round the loadable REBOL value restriction? |
Ladislav 8-May-2007 [2151] | Brian: thanks for testing and for the kind words as well :-) |
Gregg 8-May-2007 [2152] | They don't. :-) If you *can* do something as a dialect, and parse it as blocks, that makes things much easier, but you don't have to make them dialects, they're just interpreters; that's why it's important, I think, to start with lanugages that have simple syntax rules. Otherwise the grammar may dominate and distract from learning. I should also say that the interpreters don't have to be complete. That is, you could do a Ruby interpreter, but not support the full spec of the language. You just do enough to get an idea of how you might implement something like Ruby, and see how it works internally. |
btiffin 8-May-2007 [2153x2] | Ladislav; No problem...learned a new bag of tricks today. :) And I'll be sure to report any problems if they arise. |
Gregg; I've been keen to get the REBOL console into an immersive mode, like I was used to in polyFORTH. The line editor vocabulary means parsing random string input. p [ would place an open square etc... String parsing seems so, umm, not the way. A CLI dialect is tricky if everything has to be loadable. p "[" is not immersive, it becomes a little disruptive to the "stay in the context mode". Anyway...not on the table today. Just unparked peoplecards.ca :) | |
older newer | first last |