lp:java2c
- Get this branch:
- bzr branch lp:java2c
Branch merges
Branch information
Recent revisions
- 10. By Hartmut Schorrig
-
Some changes while substantiation of the CRuntimeJavalike for more universal usage. A C- and a C++-library was build, some changes caused from professional use.
*new: Because the files in CRuntimeJavalike are separeted in a include and a source-tree, the translator should regard a different output directory for the c-file, the h-file and the stc.file. Therefore the calling arguments -oc=pathCfile, -oh=pathHfile,and -os=pathStcfile are established as command line arguments.
* Tuning on constructors for inner static classes
* The macro DEFINE_EnhancedRefJc was introduced in Java2C. This is done because different impementation platforms uses the enhanced references in different kinds. The translated C-source should be independent of that choice. A macro helps to go different ways in the C implementation.
* The usage of extern "C" is revised for building libs for C and C++ in the CRuntimeJavalike. Therefore a macro 'extern_C' is created and used by the Java2C-translator for all generated methods. It is instead 'METHOD_C' - an older now deprecated macro. The macor 'C_TYPE' is used for type definitions.
* Instead activateGarbageCollectorAccess _BlockHeapJc( ) the method activateGC_ ObjectJc( ) is called for enhanced references. The implementation is the same, but the focus is not for the BlockHeap-concept, but more universal. - 2. By Hartmut Schorrig
-
Version 0.81 (2008-04-06)
The basic ZBNF-parser and command line interface is outsourced. It is contained in the ZBNF-bazaar-repository.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)