03-02-2010, 06:47 PM | #1 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2010
Location: Milano, Italy
Device: IREX DR1000s, Kobo Aura H20
|
Falcon: A new language for develop for DR1000 and DR800
Hi to all:
Falcon is an Open Source, simple, fast and powerful programming language, easy to learn and to feel comfortable with, and a scripting engine ready to empower mission-critical multithreaded applications. Falcon provides six integrated programming paradigms: procedural, object oriented, prototype oriented, functional, tabular and message oriented. And you don't have to master all of them; you just need to pick the ingredients you prefer, and let the code to follow your inspiration. In our group two people are proud owner of an DR1000 (that's me!) and a DR800 (jonnymind, the "mind" of Falcon) ; so the choice of the first e-Readers where porting our language has been easy! Falcon's installation is very easy, on DR: simply copy the files. Falcon's space occupation is very light: less than 13 Megabytes! You can find all the informations you need at our site: http://falconpl.org This is the main page for the porting project: http://falconpl.org/index.ftd?page_id=prjs&prj_id=femb You will be welcome!! |
03-04-2010, 09:09 AM | #2 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi lucone,
Can you post an example program/script written in the language, so I can see what it is capable of? Does it have bindings with the dr system calls? Can you create windows/widgets or other UI elements? Or should it be added to existing programs as an embedded language to automate certain task within that program? |
Advert | |
|
03-04-2010, 11:06 AM | #3 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2010
Location: Milano, Italy
Device: IREX DR1000s, Kobo Aura H20
|
Hi Mackx
here two examples: batterystate.fal: get the status of DR battery and shows it on the screen menu.fal "create" and ad hoc menu and shows it we have dbus, sqllite, xml and gtk (and many others...) modules ready and running, so we can read the metadata.db natively and "speak" with dbus, for example. Currently we're working on a dedicated gtk wrapping for e-readers and irex in particular. |
03-04-2010, 11:25 AM | #4 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Thanks very much for the quick reply, I will play with them.
|
03-04-2010, 03:42 PM | #5 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Looks promissing, although I think there is still a lot of work to do.
I had to get the svn archive to run the examples, the zip files you posted are not complete. I am looking forward for further progress. I read the todo-file, for items 7 and 8, check the install.sh file of the djvu-plug-in on how to link file-extensions to a program and linking an icon to file-extensions. |
Advert | |
|
03-04-2010, 03:53 PM | #6 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2010
Location: Milano, Italy
Device: IREX DR1000s, Kobo Aura H20
|
I got the examples from the svn.
Sorry Yeah, we have work to do and we are working on it. Thanks for the hints. |
03-05-2010, 07:47 AM | #7 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2010
Device: IREX DR800S
|
Quote:
Also, we're providing a lightweight graphical interface SDK designed for e-readers, but it will take very probably a couple of weeks (maybe less if someone wants to lend a hand :-). |
|
03-06-2010, 04:00 PM | #8 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
|
|
03-07-2010, 03:37 AM | #9 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Anyway, I'll wait for this falcon release to test if it serves well. |
|
03-07-2010, 05:13 PM | #10 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2010
Location: Milano, Italy
Device: IREX DR1000s, Kobo Aura H20
|
Thanks Inigo.
I'm quite sure we will not disappoint your expectations... |
03-08-2010, 04:43 AM | #11 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2010
Device: IREX DR800S
|
Falcon 0.9.6.4 on IREX
Hello,
We have just issue a new release of Falcon (Chimera - 0.9.6.4). There is a binary tar-pack prepared for the Irex DR800/1000; it's meant to be unpacked in /usr and launched from the emulator ssh command line. http://www.falconpl.org/index.ftd?pa...icial_download (Notice that future binary released will be hosted inthe specific embedding project: http://www.falconpl.org/index.ftd?pa...js&prj_id=femb) We're working on the graphics interface and should be able to have something ready relatively soon. |
09-19-2011, 03:53 PM | #12 |
Member
Posts: 23
Karma: 10
Join Date: Sep 2011
Device: Irex 1000S
|
Is this project still available? I can't find the binaries, and I'm not sure how to go about installing it.
|
09-20-2011, 03:12 AM | #13 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
If you are looking for alternatives to C/C++ to develop apps for DR devices, you can use lua [1] and vala [2] languages. Lua is an interpreted and fast enough language, maybe easier, but lacks of DR features integration. I have not intention to continue with it, but for small self-contained scripts it could be very useful. On the other hand, vala is my choice now. It's a language similar to C#, more difficult than python or lua, but it's faster and the apps can be easily integrated with DR features (menu, etc). Vala compiler generates C code from vala sources, that is then converted to DR native code using the DR cross-compiler. Vala is quite easy to use in Linux, but maybe hard in Windows. Anyway you would need a linux devel environment for the crosscompiler. There is also a python 2.6 port [3], but it's slowness in DR devices made me to start packaging lua some time ago. Hope it helps, Iņigo [1] https://www.mobileread.com/forums/showthread.php?t=79273 [2] https://www.mobileread.com/forums/sho...d.php?t=128020 [3] https://www.mobileread.com/forums/showthread.php?t=77448 |
|
Tags |
developement, dr1000, dr800, new language |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR800 ANN: DR800+. Port of some DR1000 features to the DR800 | Iņigo | iRex | 274 | 04-05-2013 02:24 PM |
DR800 Plugin development for DR800/DR1000 | yuri_b | iRex Developer's Corner | 0 | 09-18-2010 09:46 AM |
IREX DR800 or DR1000? | sordie | Which one should I buy? | 8 | 03-21-2010 08:10 PM |
perl for the DR800/DR1000? | Mr. X | iRex | 1 | 03-16-2010 07:47 AM |