Ultra-lightweight JavaScript engine for the Internet of Things.
Clone or download
imiklos and akosthekiss Add RegExp recursion depth limit (#2543)
The regexp engine does not have any recursion depth check, thus it can cause problems with various regexps. Added a new build option `--regexp-recursion-limit N` whose
default value is 0, which is for unlimited recursion depth. Also added a build-option-test.

Fixes #2448
Fixes #2190

JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
Latest commit c23cf41 Jan 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake Use Thumb instructions on TizenRT. (#2629) Dec 2, 2018
docs Added the _restore function to "unpop" the argument stack. (#2592) Jan 16, 2019
jerry-core Add RegExp recursion depth limit (#2543) Jan 17, 2019
jerry-debugger Update links in docs (#2691) Jan 11, 2019
jerry-ext Update the debugger to work on Windows (#2684) Jan 17, 2019
jerry-libm Buildable as shared libraries (#2351) Jun 4, 2018
jerry-main Fix mismatch in context getter/setter names of default port (#2554) Oct 8, 2018
jerry-port/default Update the debugger to work on Windows (#2684) Jan 17, 2019
targets Bump Mbed target to Mbed OS 5.11.1 (#2695) Jan 17, 2019
tests Fix inner classes in class heritage environment (#2686) Jan 16, 2019
third-party/valgrind Turn modified fdlibm into Jerry's own libm Apr 8, 2016
tools Add RegExp recursion depth limit (#2543) Jan 17, 2019
.gitignore Don't let doctests pollute the source tree (#2346) May 20, 2018
.travis.yml Update slug, org, and project key info for the SonarCloud service (#2690 Jan 16, 2019
CMakeLists.txt Move the 'init/fini arrays' build option to jerry-ext (#2493) Aug 29, 2018
CONTRIBUTING.md Update links in docs (#2691) Jan 11, 2019
DCO.md Add contribution guidelines and DCO. (#1348) Sep 16, 2016
Doxyfile Fix FILE_PATTERNS of Doxyfile and some of the issues it was hiding (#… Aug 13, 2018
LICENSE Update copyright notice in LICENSE and README. (#1446) Nov 25, 2016
LOGO.png Add JerryScript logo. Feb 5, 2016
LOGO.svg Add JerryScript logo. Feb 5, 2016
README.md Update slug, org, and project key info for the SonarCloud service (#2690 Jan 16, 2019
appveyor.yml Update the debugger to work on Windows (#2684) Jan 17, 2019
sonar-project.properties Update slug, org, and project key info for the SonarCloud service (#2690 Jan 16, 2019

README.md

JerryScript: JavaScript engine for the Internet of Things

License Travis CI Build Status AppVeyor Build Status Coverity Scan Build Status FOSSA Status SonarQube IRC Channel

JerryScript is a lightweight JavaScript engine for resource-constrained devices such as microcontrollers. It can run on devices with less than 64 KB of RAM and less than 200 KB of flash memory.

Key characteristics of JerryScript:

  • Full ECMAScript 5.1 standard compliance
  • 160K binary size when compiled for ARM Thumb-2
  • Heavily optimized for low memory consumption
  • Written in C99 for maximum portability
  • Snapshot support for precompiling JavaScript source code to byte code
  • Mature C API, easy to embed in applications

Additional information can be found on our project page and Wiki.

Memory usage and Binary footprint are measured at here with real target daily.

The following table shows the latest results on the devices:

STM32F4-Discovery Remote Testrunner
Raspberry Pi 2 Remote Testrunner
Artik053 Remote Testrunner

IRC channel: #jerryscript on freenode Mailing list: jerryscript-dev@groups.io, you can subscribe here and access the mailing list archive here.

Quick Start

Getting the sources

git clone https://github.com/pando-project/jerryscript.git
cd jerryscript

Building JerryScript

python tools/build.py

For additional information see Getting Started.

Documentation

Contributing

The project can only accept contributions which are licensed under the Apache License 2.0 and are signed according to the JerryScript Developer's Certificate of Origin. For further information please see our Contribution Guidelines.

License

JerryScript is open source software under the Apache License 2.0. Complete license and copyright information can be found in the source code.

FOSSA Status

Copyright JS Foundation and other contributors, http://js.foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.