Loading...
Searching...
No Matches
Overview

theCompiler



UPDATE


SUMMARY theCompiler - A tool to parse and understand header files (API) and then generate new code in a desired target language.
NEWS FROM: 25 sep, 2024

The main focus was Java and advanced technology integration …

NEW features
NEW callback attribute: The new callback technology has been incorporated using MkKernel_Parser_Callback_C_API.
NEW null attribute: Add the ability to explicitly accept a NULL pointer as arguments with __parser__(null-allow).
DOC tool
The main page generated by the DOC tool has been revised. The methods of the enum api have been filtered out and the enums have been documented as a separate category.
improvement
theCompiler is constantly under development, which means that an old technology is being replaced. One of these old technologies was the hard-coded attribute mapping which was tailored directly to an explicit packet (e.g. theLink). However, since theCompiler now works with many packets, it is now logical to move the packet-specific code into a separate file (compiler.tcl) which no longer belongs explicitly to theCompiler but is assigned directly to the target packet.


DETAILS

The main goal of theCompiler is to support Meta-Programming.

At the beginning theCompiler started with C# and the lack of support for automatic api generation combined with a very "fault-tolerant" integration that ultimately ended in a runtime error.

After the piece-by-piece conversion of LibMsgque into an object-oriented environment and the associated standardization of the language connection, theCompiler became more and more important and thus became a "swiss knife" of programming.

The central tool to create source-code is BuildNhi1, which, after a few tests, calls the makefile where the compilation process is ultimately controlled. To avoid unnecessary translation work, theCompiler was programmed in such a way that just ONE run is enough to update all project files.

The programmer writes HIS code independently of BuildNhi1 and ultimately carries out the final translation into the executable.

If the API or an attribute was changed, then of course the BuildNhi1 must be called again in order to transfer this change to the entire project.

DEPENDENCIES

theCompiler was written in TCL.

Introduction

target #1 #2 #3 #4 #5
theCompiler alc compiler alc goals alc new C alc parser alc native

Files

README , INSTALL , NEWS, CHANGES