jsweet/core-lib
Renaud Pawlak 11c8062111 various improvements preparing v2
- support for decorators (fixed #43)
- added support for core JS features (function-scope this ($this),
function-scope arguments, ...
- added/modified macros ($insert, $loose/$strict, ...)
- modified es5 and es6 API to simplify the use of JavaScript strings and
arrays
2017-05-03 12:41:51 +02:00
..
2017-05-03 12:41:51 +02:00
2017-05-03 12:41:51 +02:00
2017-01-04 16:16:42 +01:00
2017-01-04 16:16:42 +01:00

JSweet core API

This JSweet sub-project defines the core APIs for JSweet programs. It aims at allowing the programming of JavaScript applications in Java.

Main content

It contains a Maven project for each JavaScript version (so far only ES5 version). Each version defines the following APIs:

  • a def.js package, which contains all the JavaScript language core APIs for the appropriate JavaScript version.
  • a def.dom package, which contains all the JavaScript language W3C DOM APIs for the appropriate JavaScript version.
  • a jsweet.lang package that contains the JSweet language extensions for Java (mainly annotations).
  • a jsweet.util package that contains some utilities (helpers).

License

This project is licensed with the Apache 2 license. It means that you can use this API and its source code in any kind of projects, even closed source and commercial projects.