Live data from Hacker News

REBOL Oneliners

rebol.com

41–50 of 54 posts

Re: REBOL Oneliners

#42
Its a very impressive show of one-liners, I love how expressive the language is. I wonder however, how easy it would be to extend compared to something like Lisp. If these idioms for parsing html weren't built-in, what would a Rebol implementation of those funcs look like?

Re: REBOL Oneliners

#43
post #30

Back on the Amiga I once found this weird language on Aminet or a ffish disk called "Lava" and it had all these builtin datatype for amazing things like ip addresses, I just could not wrap my head around that. What do you mean? I don't have to write my own token parsers in C that's outrageous! I ran away at first but went back over summer break and it had been renamed Rebol. I used it all through school blowing throu…

By the way Rebol was created by Carl Sassenrath, the designer of the kernel (exec) of Amiga OS.

https://en.m.wikipedia.org/wiki/Carl_Sassenrath

Re: REBOL Oneliners

#44
post #31
post #16

REBOL and its derivative Red seem like cool languages, but I can't get over the fact that it's impossible to bootstrap these free software projects because Red requires REBOL 3, which is self hosting using REBOL 2, which is proprietary.

Red requires Rebol 2, which is proprietary; Red does not require (and, in fact, does not work with) Rebol 3. However, Rebol 3 (and it's active descendant Ren-C) bootstraps itself; it does not require Rebol 2.

You've probably forgotten but at one stage the red.r script was ported to ren-c.

Re: REBOL Oneliners

#45

This language just looks super cool. It's a shame it's sort of dead. Red (the spiritual successor) isn't ready for production yet.

Low number of users doesn't mean dead. A Rebol 3 version now compiles to wasm. You can check the interpreter running in a browser at hostilefork.com/media/shared/replpad-js/

Re: REBOL Oneliners

#46
post #33

Earlier quoted context omitted.

Red died the minute they announced they were going to launch their own crypto currency.

That's a rather bold claim. What you call cryptocurrency is an ERC-20 token intended for experimenting with community economy (e.g. tipping contributors, voting for features, app market, etc). It's an untrodden path and the idea is quite interesting in its own way. Regardless of the blockchain involvement, I encourage everyone to stay open-minded and judge the project on its technical merits.

So the cryptocurrency stuff isn't at all part of the language or stdlib?

Re: REBOL Oneliners

#47
I've spent the best part of 2000 programming with REBOL until I made the switch to the early builds of MacOS X and moved to program using LiveCode. REBOL remains one of my most fond memories of being a developer. So much power in such a little language.

I wish REBOL 2 was still being developed and its GUI was updated to latest trends. I'd switch back to it in a heartbeat. I'm quite excited about Red and been playing with it occasionally.

Re: REBOL Oneliners

#48
post #33

Earlier quoted context omitted.

That's a rather bold claim. What you call cryptocurrency is an ERC-20 token intended for experimenting with community economy (e.g. tipping contributors, voting for features, app market, etc). It's an untrodden path and the idea is quite interesting in its own way. Regardless of the blockchain involvement, I encourage everyone to stay open-minded and judge the project on its technical merits.

So the cryptocurrency stuff isn't at all part of the language or stdlib?

What makes you think it is? There are plans to offer a lightweight console module for the Ethereum scheme and C3 dialect, but since there's very little interest in this branch of development from the community (and a lot of skepticism with nay-saying) it's not a priority.

Re: REBOL Oneliners

#49
post #20

Earlier quoted context omitted.

IIRC I read somewhere that Rebol is homoiconic but not sure.

It is. For example, in the third example: foreach file load %./ [if not dir? file [write/binary join ftp://user:pass@example.com/ file read/binary file]] Those two sets of [ ] are the block! datatype, which is an array-like type. "foreach" is a function that takes an identifier and two block!s ("load" returns a block!), executing the second for each one in the first. Quick example showing it: >> something: [print val…

Thanks.

Re: REBOL Oneliners

#50
post #34

Earlier quoted context omitted.

IIRC I read somewhere that Rebol is homoiconic but not sure.

Curious ones can find a brief explanation of this core idea in a Github wiki (shameless plug!). https://github.com/red/red/wiki/%5BDOC%5D-How-Red-works:-a-b...

Thanks.
Post reply on HN