Current support includes:
- Simple and intuitive class definitions
- Classical inheritance
- Traits as mixins
- Access modifiers (public, protected, and private)
- Abstract classes and methods
- Static and constant members
- Transparent error subtyping
Bug Reports / Feature Requests
GNU ease.js was created (historically) for a number of reasons:
- To provide the maintenance and development benefits of classical OOP.
- To provide features not included in the language, such as proper encapsulation through private/protected members, interfaces, traits, intuitive inheritance, and other conveniences.
- To encapsulate the hacks commonly used to perform the above tasks.
Building and Installation
For information on installing ease.js on your system, see
INSTALL. Alternatively, you may install the software using
npm by issuing the following command:
$ npm install easejs
If your distribution contains a
configure file in the project root, you
may jump immediately to
Otherwise, you likely have the sources as they exist in the project repository, which does not contain the generated `configure' script; you may generate it by issuing the following command:
$ autoreconf -fvi
Please note that certain files (such as AUTHORS, NEWS, and ChangeLog) are
generated as part of the
dist target and do not exist as part of the
For information on hacking and contributing to GNU ease.js, please see
GNU ease.js is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
N.B.: Versions prior to 0.2.0 were released under the LGPLv3+. Upon becoming
a GNU project, it was relicensed under the GPLv3+ to help the FSF stand strong
the NEWS file (which can be built with
make NEWS) and