savannah-register-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-register-public] [task #6484] Submission of jlang compiler - S


From: Jatin Bhateja
Subject: [Savannah-register-public] [task #6484] Submission of jlang compiler - Small compiler for educational purpose
Date: Sun, 04 Feb 2007 18:46:39 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

URL:
  <http://savannah.nongnu.org/task/?6484>

                 Summary: Submission of jlang compiler - Small compiler for
educational purpose
                 Project: Savannah Administration
            Submitted by: jbhateja
            Submitted on: Sunday 02/04/2007 at 18:46
         Should Start On: Sunday 02/04/2007 at 00:00
   Should be Finished on: Wednesday 02/14/2007 at 00:00
                Category: Project Approval
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

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
<https://savannah.nongnu.org/siteadmin/groupedit.php?group_id=9101> page*,
accessible only to site administrators, effectively *logged as site
administrators* (superuser):

* Group Administration
<https://savannah.nongnu.org/siteadmin/groupedit.php?group_id=9101>


= Registration Details =

* Name: *jlang compiler - Small compiler for educational purpose*
* System Name:  *jlangcompiler*
* 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: ====
gcc,bison,flex


==== 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.








    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6484>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]