Giter VIP home page Giter VIP logo

decaf's People

Contributors

gnipnuhz avatar jzz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

decaf's Issues

Generalize Symbol Table access

generalize accessing the symbol tables and add this code to SymbolTable.hs
Add a layer of indirection to the semantic checker monad's use of the symbol tables
Implement more efficient symbol tables (maps etc.)

Flatten AST + Tree rewrites

Perhaps consider a more general way of rewriting the tree (by writing generalized 'walk-functions')

Also, flatten the AST a bit (it's way too verbose atm)
- collapse the many levels of hierarchy surrounding operators
- collapse expressions into a more abstract form

Merge in Scott's work

We need to merge my work with Scott's work, but in order for this to go cleanly, we should probably establish:
- good coding standards (see http://www.haskell.org/haskellwiki/Programming_guidelines and http://www.haskell.org/pipermail/haskell-cafe/2010-September/084006.html)
- an understanding of how to structure complex projects / programs

additionally, the merge should theoretically take the best techniques from each of our respective works and combine them (establishing our ultimate coding style in the process)

\t bug in scanner

We currently map ALL '\t' -> ' ' characters in the input string to the scanner; this results in internal program strings having no tabs, when they should.

Possible Solutions:
Move eatFirst/eatNext in Decaf.Scanner to return 'unconsumed' input (i.e. move calculation of updated source position to a per-token-basis.

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.