[Aldor-l] Compiler development

David Casperson casper at unbc.ca
Sun Jun 15 20:32:05 EDT 2008


Hi Pippijn,

I have been looking at the compiler from the point of view of
making it ``open'', by which I mean accessible from some kind of
Aldor library.

I am primarily interested in accessing the parser and earlier
stages for the purposes of being able to insert hooks to support
an IDE.

I've looked at store.x a fair bit when porting to a Mac, but
haven't looked since then.

What kind of component systems are you thinking about using?

David
-- 
Dr. David Casperson, Assistant Professor     |  casper at unbc.ca
Department of Computer Science               |  (250)   960-6672 Fax 960-5544
College of Science and Management            |  3333 University Way
University of Northern British Columbia      |  Prince George, BC   V2N 4Z9
                                              |  CANADA
-------------- next part --------------
Hello Aldor developers,



tonight, I have restarted my work on the compiler (I had no time for it

anymore and now I have forgot most of the things I knew back then). I

would like to verify the quality of the compiler by splitting it up into

subsystems and perform extensive regression tests on each. By splitting

them up, I also want to understand and possibly document the internal

working of these subsystems.



The problem I am currently having is that the memory allocation subsystem

crashes in various ways. The most annoying crash happens when I try to

make it output debug information using the STO_DEBUG_DISPLAY macro and

the GC_DETAIL environment variable. It causes a segmentation fault in

vfprintf where something tries to access memory at address 0xc0. This is

clearly caused by undefined behaviour elsewhere.



Is anybody actually still developing Aldor or does anybody have a clue

about the compiler internals? I'll have uploaded the code I have here to

svn://svn.xinutec.org/aldor/trunk. It does not include the changes I made

before tonight. It does not include the make scripts either, since they

are not license-compatible with the APLv2. (Would it be possible to use

SVN external repositories and just let svn fetch the required files

without those being license-compatible?)



Regarding license issues, I no longer care about it. If the Aldor

Software Organisation wants the "royalty-free" "unrestricted" right to

modify and redistribute my changes, that would only be good, since it

would mean there are actually people out there besides me who care about

the quality of the compiler.



-- 

Pippijn van Steenhoven

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.aldor.org/pipermail/aldor-l_aldor.org/attachments/20080615/435e0584/attachment-0002.bin>
-------------- next part --------------
_______________________________________________

Aldor-l mailing list

Aldor-l at aldor.org

http://aldor.org/mailman/listinfo/aldor-l_aldor.org



More information about the Aldor-l mailing list