Difference between revisions of "New Compiler"

From Mesham
Jump to navigationJump to search
m (4 revisions imported)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
We have completely rewritten the Mesham compiler from the [[Arjuna]] line (up to version 0.5) and created the [[Oubliette]] line (from version 1.0 onwards.) Further details about these compilers can be found on their respective pages. The previous [[Arjuna]] line are deprecated.
 
We have completely rewritten the Mesham compiler from the [[Arjuna]] line (up to version 0.5) and created the [[Oubliette]] line (from version 1.0 onwards.) Further details about these compilers can be found on their respective pages. The previous [[Arjuna]] line are deprecated.
  
The following is a statement of intent that we wrote when deciding to rewrite the compiler:
+
 
 +
----
 +
 
 +
''The following is a statement of intent that we wrote when deciding to rewrite the compiler''
  
 
The current Mesham compiler is mainly written in FlexibO, using Java to preprocess the source code. Whilst this combination is flexible it is not particularly efficient in the compilation phase. To this end we are looking to reimplement the compiler in C. This reimplementation will allow us to combine all aspects of the compiler in one package, remove depreciated implementation code, clean up aspects of the compilation process, fix compiler bugs and provide a structured framework from which types can fit in.
 
The current Mesham compiler is mainly written in FlexibO, using Java to preprocess the source code. Whilst this combination is flexible it is not particularly efficient in the compilation phase. To this end we are looking to reimplement the compiler in C. This reimplementation will allow us to combine all aspects of the compiler in one package, remove depreciated implementation code, clean up aspects of the compilation process, fix compiler bugs and provide a structured framework from which types can fit in.

Latest revision as of 15:44, 15 April 2019


Completed March 2013

We have completely rewritten the Mesham compiler from the Arjuna line (up to version 0.5) and created the Oubliette line (from version 1.0 onwards.) Further details about these compilers can be found on their respective pages. The previous Arjuna line are deprecated.



The following is a statement of intent that we wrote when deciding to rewrite the compiler

The current Mesham compiler is mainly written in FlexibO, using Java to preprocess the source code. Whilst this combination is flexible it is not particularly efficient in the compilation phase. To this end we are looking to reimplement the compiler in C. This reimplementation will allow us to combine all aspects of the compiler in one package, remove depreciated implementation code, clean up aspects of the compilation process, fix compiler bugs and provide a structured framework from which types can fit in.

Like previous versions of the compiler, the results will be completely portable.

This page will be updated with news and developments in relation to this new compiler implementation.