GithubHelp home page GithubHelp logo

sclp_compiler's Introduction

cs316 Assignment 1
-------------------

Submission deadline 17:00, Fri 20 Jan 2017. The submission will be on moodle.

You have been given 
	1. some valid and invalid input programs (Examples) for Level 1 of  
	   our subset (please see http://www.cse.iitb.ac.in/~uday/sclp-web),
	2. a complete grammar of Level 1(grammar.txt),
        3. x86-64 based reference implementation (sclp14 and sclp16 for Ubuntu 
           14.04 and 16.04)
	4. a skeleton scanner specification (scanner.ll), 
	5. a parser specification (parser.yy),
        6. all class declarations and header files,
	7. a reference library (separate versions for Ubuntu 14.04 and 
	   Ubuntu 16.04) that implements the classes, and
	8. associated Makefile.

You have to complete the scanner and parser specifications to create your first
compiler that accepts Level 1 of the language. The places that you need to fill
in have been marked with the following comment

	//ADD YOUR CODE HERE

You can execute the reference implementations and examine various dumps to understand
the behaviour of the compiler.

sclp_compiler's People

Contributors

gowtham-baskar 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.