Giter VIP home page Giter VIP logo

sacc's People

Contributors

hernanw4 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sacc's Issues

Long Term Repo Structure

Assuming all goes well, I see this possibly being used as a teaching tool to show the stages of a compiler and how it works. We have discussed some nice optimizations would benefit performance if implemented (keeping AST nodes 64 bits, combining the parser and the verifier, using C enums with shared data in a struct, etc.) and I propose that we do implement these fun changes, but after finish a somewhat complete version of the compiler. Then, we will push this "pure" (slow but straightforward) version of the compiler to a branch that wont change. From there we can move full speed toward optimization. This will allow us to learn how to make a compiler as well as pin the final useful product once were done.

Also to clarify our goals, we are looking to be able to compile a hello world program by the end of this semester (May 2022 or so). As stepping stones for that we will also be able to compile a memcpy.c file which doesn't use the preprocessor and looks something like this:

void* memcpy (void* dest, const void* src, size_t len)
{
  char *d = dest;
  const char *s = src;
  while (len--)
    *d++ = *s++;
  return dest;
}

Long live SACC!

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.