close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of ContextJ


Ignore:
Timestamp:
01/05/2011 05:47:40 PM (11 years ago)
Author:
malte.appeltauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContextJ

    v1 v1  
     1= ContextJ - Context-oriented Programming for Java =
     2
     3The ContextJ compiler is an extension to the JastAddJ Java compiler that is implemented based on the JastAdd compiler framework, see http://jastadd.org/JastAdd.
     4The compiler is implemented as a Java JAR file. The latest version is included in this archive.
     5
     6== Compiling Projects ==
     7
     8The compiler is able to parse Java and ContextJ syntax. To run it, put the contextj.jar into the project root directory and execute the following command
     9{{
     10   java [more Java VM options] -jar contextj.jar <your.package.YourClass>
     11}}
     12Besides the generation of Java class files for all project files, the package folder ./contextj/lang/ will be generated, containing class file representations for all layers definied in the project.
     13
     14== Executing Projects ==
     15
     16To run your compiled project, simply execute:
     17"java [more Java VM options] your.package.YourClass"
     18
     19== Known Issues ==
     20
     21Please consider the following restrictions of the current version:
     22* default package classes are not supported, so each class must contain a package declaration
     23* anonymous classes and inner classes must not contain layers
     24
     25