Red Programming Language 0.6.3
red-lang.org
red-lang.org
[0] https://en.wikibooks.org/wiki/REBOL_Programming/Language_Fea...
[1] https://github.com/gchiu/rebol.net/blob/master/wikipedia/Par...
* chat - https://chat.stackoverflow.com/rooms/291/rebol
* forum - https://forum.rebol.info/
... and we'll do our best to help.
In the book it covers creating a FTP dialect. Also there's a brief bit on creating a terminal cursor dialect.
NB. Book is for Rebol 2. There are improvements to parse in Rebol 3 & Red but the books dialects examples should still work as-is.
* Designing Dialects for Control and Communication - http://www.kealist.com/
* A little logo interpreter - http://ceronio.net/2015/02/having-fun-with-rebol-parse/
* TUI dialect - https://web.archive.org/web/20070829095319/http://rebolplane...
Interview:
https://notamonadtutorial.com/interview-with-nenad-rakocevic...
Just to note that Rebol 2 is below 1 MB. Depending on platform, Core is normally below 300K and View is around 600-800K - http://www.rebol.com/downloads.html
Unfortunately Rebol 3 (Ren/C branch) is a little beefier at this moment :( The non debug version is usually between 1.2 & 1.9 MB - http://metaeducation.s3.amazonaws.com/index.html
This Rebol 3 size will shrink. Currently there is development on build & extension process which will help. NB. There's been a big refactoring/redesign of the Rebol 3 interpreter in last couple of years so there maybe (still) some artefacts from many forks/merging of codebase that could also be shaken out.
I never understood stuff like writing "forgive spelling" or "sp?" when the correct spelling is a Google away.
Some folks might be on a mobile device with an interface that makes it difficult to switch to another window. Or perhaps they are offline when they're writing it. Or perhaps they have mobility / accessibility issues that makes switching a challenge. Those are off the top of my head.
To my mind, worrying about someone's spelling when I can understand them perfectly is one of those "life's too short" issues, speeking personaly.
There's also momentum. They want to go write a quick comment and type their thoughts as they come -- not stop and Google things.
The old 32-bit K2 (K language) had a superfast ACID DB, GUI, GC, no dependencies (but also no compilter) and was 250K, so 4 independent platforms would still fit in under 1MB; Arthur is now working on KPARC, which has no compiler but does boot on metal and includes GUI, editor, db, filesystem, network, and a lot more, e.g. this http://kparc.com/edit.k is the implementation of native nano-style GUI editor. ; Last I heard, it was still <500KB.
Right now, it only compiles to 32 bit binaries (which can run on both 32 and 64 bit OS).
64 bit support will come after the compiler is bootstrapped.
> and cross compiles
Yup, easy cross compilation. You do not need different cross compilers for different platforms a la llvm and gcc, a single 1 mb binary can produce binaries for all supported platforms.
So, on one hand, there's massive cross-platform support. On the other hand, those platforms are all obsolete, or about to be. Even the mobile and embedded ones have all gone 64-bit.
Maybe backwards compatibility will be maintained for a few years. But it ruins the embed-red-in-C story already.
There are AFAIK no plans to add 64 bit support before bootstrapping phase because the current toolchain architecture isn't that great and will be heavily improved during 1.x cycle.
A bit more details here -
https://gitter.im/red/red?at=56ac45a1586242210ae0704d
and https://github.com/red/red/wiki/Question-about-contributing-...
ARM cortex-M (32 bit) has only recently been able to chip away at 8 bit platforms and gain major use
https://en.wikipedia.org/wiki/List_of_common_microcontroller...
Using the other meaning of embedded (I embedded a Lua script in my C application), compatibility libraries don't help. It simply won't link.
Yeah, me too. I tried reading the Red source code, hmm still couldn't figure it out. Could someone explain how Red achieve this?
Compared to GCC or FPC, Red is obviously very very very tiny :)
As for GUI,
https://gitter.im/red/red/welcome?at=595f60f50de4d2545e026e5...
> No timeframe until we find someone to work on it. Though, we should be presenting Red at the GNOME global conf in China on October, so I hope we can find someone motivated and skilled enough there to work on it.
So Linux GUI might come not too late.
Does anyone know if there was any direct inspirational link from Tcl to Red/Rebol, or was it just by the nature of the idea of making an extensible langauge suitable for making lots of DSLs in?
Just trying to get an idea of where Mobile development fits into the scene.
http://www.red-lang.org/p/roadmap.html
https://trello.com/b/FlQ6pzdB/red-tasks-overview
It is possible to compile console apps that run on Android right now, though AFAIR this feature isn't fully stable yet.
It's also worth noting that Red can be used as an embedded language. So for example, after 0.6.5 is released, you could have an Android app where the GUI was written in Red, but code managing phone features like GPS could be written in another language.
As for supporting mobile features directly, I imagine some of this will be managed by libraries rather than baked into the language runtime. Worth noting that the module system is planned for 0.8.0. However, it should be possible to write feature rich mobile apps long before then.
> Will Red get direct access to Android's (and IOS later) camera, location, gyroscope, etc features?
> Absolutely, our GUI engine already features a camera widget (in our Windows backend). The work on Android backend in 0.6.x version will bring wrappers to all the common hardware features.
So yeah, I guess the plan would be to support all mobile features.
The similarity, goals, and timing of release of both languages is in interesting convergence. Curl unfortunately tried to go to commercial and died a quick death. I'm glad Rebol and now Red are doing well.
But (with the caveat that I did not try Curl out for long), not sure how similar Curl was to Rebol. I thought Curl was a bit like Lisp, so AFAIK the only / main similarity with Rebol might have been homoiconicity (if I'm right about them both having that property). But could be wrong.