[Announce] Announcements only - use Ann-reply to chat
I've updated the Red(/System) test binaries. Instructions are in my recent Syllable article:
If you want to help ensure the quality of the upcoming Red 0.3.1 release, please test the example programs
A kind reminder to subscribe to the Red mailing list at https://groups.google.com/forum/?hl=en&fromgroups#!forum/red-lang is you haven't done so already.
Here's a 6502 CPU emulator written in Red/System:
It was enabled by the function pointer casting in Red 0.3.0 and the new functionality of the preprocessor. It proves that such a low level and performance critical thing can be done with Red
I haven't tested it much yet, because I haven't emulated a machine around it yet
However, I rewrote it from a fairly complete Atari XL/XE emulator that I did in C a long time ago. The new code is a third shorter, mostly due to abundant use of preprocessor macros, which are less horrible in Red/System than in C
In this new emulator, I abstracted the machine emulation from the CPU emulator, so that different machines could be implemented using the same CPU emulator
My full Atari emulator ran full speed on a Pentium 75 or a 100 MHz 486. I roughly expect this one to run half as fast, so as a full emulator I'd expect it to need a Pentium 150. As another guesstimate, it should need half a Raspberry Pi
Carl released the R3 source today: https://github.com/rebol/r3
The G+ Rebol community is born: https://plus.google.com/communities/100845931109002755204
Let me announce first achievement of bringing R3 to Android OS based devices. I know many of you were waiting for this so long so here is the first test version to download: http://development.saphirion.com/experimental/R3droid.apk Note this is just first raw port showing the interpreter is working. The console input is missing at the moment, but will be probably among first things to add so you can have your beloved /Core on your mobile/tablet. If you would like to speed up this developement, donate, sponsor or make a bounty for features please crosscheck with Robert/Saphition(he'll write more info here as well)
(feel free to post your feedback with testing in Android group)
To start off, I'm offering a matching donation up to $500, to Saphirion, for this work. (Moving to Android group...)
I tested R3droid.apk on a Huawei M865C, and it works :)
Made it to restore the web-project for http://development.saphirion.com That's where we are going to publish our R3 stuff. Still some work to do, but you will find our R3 version there, R3-GUI etc.
http://development.saphirion.com I have reworked the whole site. You can download the latest R3 releases with graphics engine for windows for now. Further our latest R3-GUI release is available too. The site contains a bounty shop as well, if you want to support / donate to some of our efforts. All things we will work on are listed. Stay tuned, more to come over the next weeks.
Added our source-code archive to the downloads.
Updated our R3 version. Changes: - no longer links libstdc++ dynamically but statically. You get an error that libstdc++-6.dll is missing from your computer. - changed startup procedure to support correct stdio redirection in console mode (used if you start R3 with a command line argument, else GUI mode)
I've got a question about using MakeDoc/MakeDoc Pro vs Markdown/MultiMarkdown. Are there significant advantages with MakeDoc that outweigh going with Markdown which seems to be the defacto standard for lightweight markup? I guess when MakeDoc first came out it was pretty unique, but if you were to need this kind of tool today wouldn't it make sense to use something with wider adoption?
My 6502 emulator in Red/System now takes the name of a ROM file as a command line parameter. It can load any ROM that's a multiple of 2 KB in size:
I also extended the tracing. At the start of each instruction, all CPU registers are now dumped
I've tried several operating system ROMs. They seem to work, although it's still hard to judge without a real machine emulated around the CPU
I've added binaries for all systems to my test repository, so you can now easily try the emulator if you have some ROM from the golden days:
I've added a Fibonacci example to my benchmarks in Red with the main function written as a routine!:
It's 45 times faster than the pure Red version, and all you have to do is replace the word FUNCTION with the word ROUTINE :-)
I think this is going to be hard to explain to people :-)
I've also added it to the test builds. Convenient instructions are in this article:
Yes, kind of hard to explain, as the single word change makes it 45 times faster :-) It is just that R/S is syntactically similar to Red, so it might look confusing, why we don't use routine simply each time :-)
I've added Doc's new Red interpreter REPL console to the Red test builds:
So you can now try it immediately. Currently only for Windows, so it's in MSDOS\Red\console.exe
I feel small and humble in the shadow of Doc's Xmas present, but for what it's worth, here's a very preliminary Red binding with SQLite:
Series and structs aren't marshaled yet; they're just passed as address integers
Only simple functions work so far. I've added a Red version of do-sql to the test programs that just prints the SQLite version. See above. They're in */Red/do-sql
As you can see there are a number of primitive constructs in the Red binding. I'll report issues as I go
Great work, Kaj!
Released R3 ODBC host extension to https://github.com/gurzgri/r3.git (branch odbc). It's a fairly complete, Windows only extension in the spirit of the R2 ODBC api.
Updated: http://development.saphirion.com/downloads/to contain the complete R3-GUI ZIP with additional docs, examples etc.
I made a version of the Red interpreter console for other platforms than Windows. It runs on systems that have the ReadLine library. It uses both the libreadline and libhistory libraries, so it provides command line editing and history recall
I've made ready built binaries available in the test repository. See above. They're in */Red/console
I've tested the versions for Syllable and Linux. ReadLine is probably available for OS X, but it probably needs to be installed through one of the extra packaging projects. I don't know if ReadLine is available for Android, but it would most likely also need to be installed as extra