Giter Site home page Giter Site logo

aditya30394 / simple-integer-language-compiler-silc- Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 1.6 MB

A compiler developed for SIL (Simple Integer Language) in C using tools Lex and Yacc. SIL is a two pass compiler for a hypothetical machine SIM (Simple Integer Machine). SIL has support for basic and user defined data types, functions and conditional and iterative statements, arithmetic and logical expressions and I/O.

License: MIT License

C++ 3.08% C 86.35% Lex 2.14% Yacc 8.42%
compiler-design c cpp sil yacc lex expl

simple-integer-language-compiler-silc-'s Introduction

Simple Integer Language Compiler (SILC)

A compiler developed for SIL (Simple Integer Language) in C using tools Lex and Yacc. SIL is a two pass compiler for a hypothetical machine SIM (Simple Integer Machine). SIL has support for basic and user defined data types, functions and conditional and iterative statements, arithmetic and logical expressions and I/O.

The roadmap for the project can be found here.

Specifications

  1. The specification of the source programming language: The source language for this compiler is called the Experimental Language (ExpL), which is designed solely for instructional purposes. An informal specification of the source language is given here. The specification for an extension of the basic ExpL language with support for object oriented programming is given here.

  2. Application Binary Interface of the target platform: A compiler must generate a binary executable file that can be loaded and executed by an operating system running on a target machine. Normally, an OS system installation comes with an interface specification, explaining how binary executable files must be formatted to run on the system. This interface is called the Application Binary Interface (ABI). The ABI is dependent on both the OS and the machine architecture. The ABI for this project is that of the Experimental Operating System (ExpOS) running on the Experimental String Machine. [XSM]. The ABI specification is given here. (The simulator allows the target program to contain machine instructions in mnemonic form, avoiding translation to binary format).

License

This project is licensed under the MIT License - see the LICENSE file for details

simple-integer-language-compiler-silc-'s People

Contributors

aditya30394 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.