Giter Site home page Giter Site logo

whack's Introduction

whack

  • A simply-designed compiled programming language.
  • Can call C functions without ceremony.
  • Suitable for learning some compiler construction basics.
  • Also suitable as a base for further development.
  • Also suitable for use as-is.
  • Whack currently lacks a comprehensively designed type system.
  • important Progressively designed/implemented. Some constructs may seem whack.
  • No tests (pull requests welcome (follow clang's test style)).
  • Currently supporting Windows (I'm on Windows).
  • To view current progress, run whack.exe in snapshot folder.

Progress

Pre-Alpha. This repository is a dump of what is currently on my Sublime Text.

Non-Goals

  • Industrial-strength compiler for our Stage 1/State 2 compiler.

TODO

  • Stage 1 compiler: Compile whack code using using C++ code): (Current progress).
  • Stage 2 compiler: Use our Stage 1 compiler to compile the Whack compiler in whack.
  • Stage 3 compiler: Use our State 2 compiler to make a self-hosted Whack compiler.
  • Standard Library.

Requirements

  • Facebook.Folly (Release folly-2018.08.20.00).
  • spdlog (Release spdlog-1.1.0).
  • gcc must be available on your PATH (MinGW GCC is available at Nuwen.net).
  • LLVM (Provided as a DLL in snapshot folder - check LLVM.dll.rar).

whack's People

Contributors

onchere avatar

Watchers

 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.