The Following 4 Users Say Thank You to b-man For This Useful Post: | ||
![]() |
2009-06-10
, 06:45
|
Posts: 1 |
Thanked: 3 times |
Joined on Jun 2009
|
#2
|
![]() |
2009-06-10
, 09:19
|
Posts: 362 |
Thanked: 109 times |
Joined on May 2009
|
#3
|
This is a raw port of the Ejscript javascript application framework to both maemo and mer.
Features:
* An environment for high performance web applications
* Fully capable of being a stand-alone programing language like python.
* Integrated SQLite database
* Object Relational Mapper (ORM)
* Ajax view controls
* Full support for jQuery
* A direct-threaded Virtual Machine
* Extended Language - Provides classes for Events, Timers, Files, Paths, Streams, Sockets and HTTP. There are also significant upgrades for the core system classes: Array, Object and String.
More documentation on usage can be found here:
http://b-man.psykosis.net/projects/e...documentation/
Source, development, and binary deb packages are available here.
![]() |
2009-06-12
, 18:01
|
|
Posts: 549 |
Thanked: 502 times |
Joined on Feb 2008
@ Bowling Green Ohio (united states)
|
#4
|
Super nice.
This looks like a powerful language with rapid development.
Does it support graphics (drawing, bitmap manipulation, video)?
For user interface stand alone, can you give an example of a window with a combo-box with 3 items and 2 buttons ok and cancel?
Does it have a debugger?
Thank you for your hard work !
module Test { test_window(); function test_window(); var testwin = System.run("/usr/bin/dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Opening Window...""); print(testwin+""); sleep(100); /* sleep 100 miliseconds */ System.run("gxmessage -center -alignbuttons center -buttons "close window":1 -geometry 300x50 -title "question" -wrap "this window was launched using Ejscript""); App.exit(0); } }
![]() |
Tags |
javascript |
Thread Tools | |
|
Features:
* An environment for high performance web applications
* Fully capable of being a stand-alone programing language like python.
* Integrated SQLite database
* Object Relational Mapper (ORM)
* Ajax view controls
* Full support for jQuery
* A direct-threaded Virtual Machine
Core Features:
* Web Framework - Provides a large amount of Ajax functions when working on browser based applications
* High Performance Virtual Machine - Provides a resource friendly direct-threaded Virtual Machine for running byte compiled javascript code
* Compact Byte Code - for fast execution
* Enhanced Core Language - Ejscript enhances the ECMAScript core with powerful a set of features including: classes and modules for scalable programming, conditional compilation and an enhanced-language mode to detect common JavaScript language issues.
* Extended Language - Provides classes for Events, Timers, Files, Paths, Streams, Sockets and HTTP. There are also significant upgrades for the core system classes: Array, Object and String.
* Useful tools - Includes a fast, optimizing compiler, symbolic assembler listing generator and documentation generation tool.
More documentation on usage can be found here:
http://b-man.psykosis.net/projects/e...documentation/
Source, development, and binary deb packages are available here.
NOTICE: if you are going to build this from source you must use this patch, this disables the '-mcpu' flag from getting used in make.gcc since gcc for armv6l doesn't support this option.
Examples:
Creating a program to use with the interpreter (ejs)
Creating and building a program to use with the Virtual Machine (ejsvm)
And then compile and run the program with the following:
this program would take test.c and compile it using gcc, strip it, and then run the resulting program test:
Using Ejscript with a browser:
Assuming your app name is going to be web, run the following as root (i'm using my /root directory)
You should see the following:
And you're done
I'm an advanced user and a bit of a modder.
----------------------------------------------
I am involved with Mer, Deblet, and NITdroid.
My ports/creations/hacks: GNOME (for Deblet), Cdeb2», Ubuntu, playable flash games in the "Get Started" app, DBS, ect...
enhanced fedora port has been canceled in favor of NITDebian (TBA)