Quick Nav
Release Notes
Welcome to the Embedthis Ejscript™ installation release notes. This document provides release-specific information for Ejscript.
This release is an preview release to enable developers to have early access to the Ejscript language. It is currently pre-release and is incomplete in functionality, quality and compliance with the ECMAScript 3 specifications.
Licensing
This software is copyrighted and distributed under license. It is available under a GPLv2 open source license and an optional commercial license. Please read the LICENSE.TXT for details.
Ejscript includes support for several external packages such as MatrixSSL, OpenSSL and SQLite. These packages have their own licenses. Make sure you check the packages license details to ensure you are complying with their licenses.
System Requirements
Binary releases are supplied for the following operating systems.
- Linux (Fedora (x86 and x86_64), Ubuntu (x86 and x86_64)
- Windows (XP, Vista, Windows-7)
- MAC OS X (Tiger, Leopard)
The following operating systems may be supported by recompiling Ejscript from source.
- FreeBSD
- Linux 2.4 and 2.6
- VxWorks 5.4 and 6.X
- Windows
The following CPU architecutures are supported: arm, mips, ppc, xscale, x886, x86_64, sparc.
Run-time System Requirements
To install Ejscript on a development system and run Ejscript programs, your system will need at least the following:
- 20 MB Disk
- 4 MB RAM
To deploy Ejscript in an embedded environment, you will need at least the following:
- 400 KB Disk / ROM space
- 800 KB RAM
To rebuild Ejscript from source code, you will need at least
- 50 MB disk space
Development Environment Hardware Platform Support
If you wish to build Ejscript from source code, you will need to use a C compiler and associated development tools. Several development environments are supported. You may choose any of the following to compile and build samples and source code.
- UNIX/Linux GNU tools
- Windows Visual Studio (Visual Studio 2008 and Visual Studio 2008 Express).
- Windows XP with Cygwin UNIX emulation tools. See www.cygwin.com.
- WindRiver Tornado Development Tools.
Helpful Hints
Debug Trace and Logging
Ejscript has a debug logging and trace facility that can help when debugging configuration issues or developing your application code that uses Ejscript. You can see each script statement as it is executed and what op codes the VM is executing. You can vary the level of logging via the --log logfile command line switch for the ejs and ejsvm commands. The log command line switch has the format
ejs --log logFile:logLevel
The log level can be from 0 to 9, with 9 being the most verbose level. If compiling your scripts with debug enabled via the --debug switch, a log level setting of 5 will trace each source statement and assembly op code to the log file.
Limitations and Special Notes
- This release snapshot is not yet fully compliant with ECMAscript 3. This will be rectified by the 1.0 release.
Resolved Issues
See the new features and fixes in the Change Log document.