Giter Club home page Giter Club logo

andreafioraldi / draught-framework Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 247 KB

Draught Framework is a software framework that includes a virtual machine environment (Dubbel) a programming language (Stout) and a set of libraries (IPA). Yes i like beer.

License: GNU Lesser General Public License v3.0

CMake 2.91% C++ 92.68% Shell 0.32% Lex 0.75% C 0.69% Yacc 2.66%
cpp virtual-machine compiler shell assembler disassembler bison flex bytecode mpir

draught-framework's Introduction

At least for the people who send me mail about a new language that they're designing, the general advice is: do it to learn about how to write a compiler. Don't have any expectations that anyone will use it, unless you hook up with some sort of organization in a position to push it hard. It's a lottery, and some can buy a lot of the tickets. There are plenty of beautiful languages (more beautiful than C) that didn't catch on. But someone does win the lottery, and doing a language at least teaches you something.

Dennis Ritchie

Draught Framework

is a software framework composed of three core components:

  • Dubbel, a run-time environment with its bytecode and its assembly
  • Stout, an untyped programming language that is compiled to Dubbel bytecode
  • IPA, a set of class libraries written in Stout and C++

Dubbel is composed of a virtual machine, an assembler, a disassembler, and an archive utility. The archiver stores multiple bytecode files connected to the main file as libraries. It also has a module called Dubbel Builder, a library designed to simplify the creation of compilers that target the Dubbel bytecode.

Stout comes with a compiler and a shell.

To compile with Visual Studio put the MPIR and MPFR libs and headers in the project root folder. You can download precompiled MPIR and MPFR at :

(ported from a 2015 SourceForge project that I made)

draught-framework's People

Contributors

andreafioraldi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

icodein

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.