taskSavannah Administration - Tasks: task #6483, Submission of jlang compiler -...

 
 

task #6483: Submission of jlang compiler - Small compiler for educational purpose.

Submitter:  Jatin Bhateja <jbhateja>
Submitted:  Sun 04 Feb 2007 06:36:21 PM UTC
   
 
Should Start On:  Sun 04 Feb 2007 12:00:00 AM UTC Should be Finished on:  Wed 14 Feb 2007 12:00:00 AM UTC
Category:  Project Approval Priority:  * 5 - Normal
Status:  Cancelled Privacy:  Public
Assigned to:  tizzef Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Feb 2007 09:43:43 AM UTC, comment #1: 

Hi,

Dual submission, closing one.

Cheers

Patrick Camus <tizzef>
Sun 04 Feb 2007 06:36:21 PM UTC, original submission:  

A new project has been registered at Savannah
This project account will remain inactive until a site admin approves or discards the registration.


Registration Administration


While this item will be useful to track the registration process, approving or discarding the registration must be done using the specific Group Administration page, accessible only to site administrators, effectively logged as site administrators (superuser):



Registration Details


  • Name: jlang compiler - Small compiler for educational purpose.
  • System Name:  jlangcomp
  • Type: non-GNU software & documentation
  • License: Other (I am new to free software world and wanted to contribute my work for benifit of university students who are interested in working of compiler. I just want to get my work hoisted on your site so that people can benifit form it.

)




Description:

jlang Complier
==============

jlang is a small and easy to learn language designed by Jatin Bhateja.
It chiefly does mathematical operations on data variables.Languge is easy
to unterstand and is basically develoved for educational purpose.

jlang complier is small and tidy complier written by the language designer to
translate the source language to machine language. Compiler has a LR(1)
parser constructed using bison.

Compiler Working
================

Complier initialy creates an AST for jlang source program.
Once complete AST is constructed then semantic checks are performed
on the tree.Along with semantic checking constant folding optimization is
performed on the AST. Before semantic checking symbol resolving is done so that
symbols in AST point to their symbol table entry.

After doing semantic checking AST is translated to intermediate code (iCode).After
this stage CSE , constant/copy propogation optimization ,dead code elemination  and
some algebraic optimization is performed on the iCode.

Finally optimized iCode is converted to MACHINE language by backend.

About the Assembly
==================

Machine language constitutes of simple and self explanatory instruction set.
Assembly is generated in AT&T Format.



Other Software Required:

libgcc


Other Comments:

Project is basically meant for people who want to have a look at the internal working of compiler quickly.Beneficial for university students.


Jatin Bhateja <jbhateja>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tizzef (Posted a comment)
  • -email is unavailable- added by jbhateja (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-02-07 tizzef StatusNone Cancelled
        Percent Complete0% 100%
        Assigned toNone tizzef
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code