theCompiler 10.0
Loading...
Searching...
No Matches
Overview

theCompiler

UPDATE changes since nhi1-release-250425 : 203 files changed, 227 insertions, 1025 deletions


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

The main focus was ATL integration into NHI10.

ADD support for the ATL target of the ALC compiler
A       theCompiler/src/atl_DOC.tcl
A       theCompiler/src/atl_Meta.tcl
A       theCompiler/src/atl_MqC.tcl
A       theCompiler/src/atl_MqS.tcl
A       theCompiler/src/atl_RpcClient.tcl
A       theCompiler/src/atl_RpcServer.tcl
A       theCompiler/src/lib_85.tcl
A       theCompiler/src/tmpl/Class_atl.c
A       theCompiler/src/tmpl/LibNsPkg_atl.c
A       theCompiler/src/tmpl/LibNsPkg_atl.h
A       theCompiler/src/tmpl/LibRpcServer.atl


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.

Summary

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

Files

README , INSTALL , NEWS, CHANGES