Git Product home page Git Product logo

dlang's Introduction

dlang

Program execution tools for a minimalistic dynamically typed language.

Table of Contents

Clone

Git clone the repository (using --recursive to also include Sub-Modules):

git clone --recursive https://github.com/FedericoStazi/dlang.git

Enter the dlang/ folder:

cd dlang/

Build

Build Slang, DLANG-C and DLANG-VM:

./build.py all

Build Meta-DLANG-VM:

./build.py meta

Run

DLANG-C

Compile a program program.dlang to byte-code:

./dlang_c/dlang_c program.dlang -o program.out

DLANG-VM

Interpret a byte-code program program.out using DLANG-VM:

./dlang_vm/dlang_vm program.out

DLANG-VM provides many arguments, such as:

./dlang_vm/dlang_vm --jit-policy function --memory mark-and-sweep --optimizations copy-propagation,redundant-checks program.out

Meta-DLANG-VM

Interpret a byte-code program program.out using Meta-DLANG-VM:

./meta_dlang_vm program.out

Test

Unit

Run unit tests (only available if building DLANG-VM in Debug mode):

./tests/test.py unit

Differential

Run differential tests:

./tests/test.py differential

Fuzz

Run fuzz tests:

./tests/test.py fuzz

Benchmark

Run benchmarks:

./tests/benchmark.py

dlang's People

Contributors

federicostazi avatar

Watchers

 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.