GithubHelp home page GithubHelp logo

cobaltburn / ts-rust-zig-deez Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theprimeagen/ts-rust-zig-deez

1.0 0.0 0.0 2.99 MB

add unison lexer

Shell 2.41% C++ 12.11% Python 5.84% C 7.36% PHP 7.21% Erlang 0.79% Java 3.27% OCaml 6.32% Fortran 7.43% C# 7.83% F# 0.67% Rust 9.65% Standard ML 0.20% Elixir 1.41% Dart 13.88% TypeScript 3.51% Monkey 0.07% Crystal 6.28% CMake 0.87% Dockerfile 2.90%

ts-rust-zig-deez's Introduction

Degens Interpreter Competition (DIC)

Based on the awesome book "Writing An Interpreter In Go" by Thorsten Ball
ThePrimeagen receives no financial incentive for this work. Its for you

Work In Progress

Contributing

Code Owners

We most certainly need more code owners. If you wish to give the green check to code of a certain language, please add yourself as owner. If approved, i'll merge. I cannot possibly review all of these. :)

Participation

Implementations in TypeScript, Rust or Zig are reserved and maintained by ThePrimeagen himself.

For other languages, remember: first come, first serve. If there exists an implementation in your language of choice, contribute to it!

If not, start by copying LANG_TEMPLATE folder:

cp -r .github/LANG_TEMPLATE/ <your_folder_name>

It comes with:

├── .gitignore  # ignores all editor-specific or os-specific files, add additional stuff for your language
├── Dockerfile  # for Docker builds
└── Makefile    # convenient commands runner (make <cmd>) under *NIX systems

Now, the convenient commands runner (.\make.cmd <cmd>) under Windows is completely optional and resides in the root of .github/

Running

Command names

General:

  • help — outputs all the commands available, same as running the make or make.cmd without arguments

Without Docker:

  • clean
  • fmt
  • lint
  • test — should run all the available tests
  • ready — should run fmt, lint ant test

Docker:

  • docker-build — makes the build
  • docker-ready — runs the build image and executes fmt, lint, test commands inside

*NIX (Linux, macOS, etc.)

This assumes there is a Makefile in the root of the language directory.

# without docker
make clean
make fmt
make lint
make test
make ready  # runs fmt, lint and test

# docker, assuming there's a Dockerfile
make docker-build  # makes the build
make docker-ready  # runs fmt, lint and test in the built image

Windows

This assumes there is a make.cmd in the root of the language directory.

@rem without docker
.\make.cmd clean
.\make.cmd fmt
.\make.cmd lint
.\make.cmd test
.\make.cmd ready  @rem runs fmt, lint and test

@rem docker, assuming there's a Dockerfile
.\make.cmd docker-build  @rem makes the build
.\make.cmd docker-ready  @rem runs fmt, lint and test in the built image

ts-rust-zig-deez's People

Contributors

theprimeagen avatar lh2 avatar jon-lipstate avatar hermannm avatar novusnota avatar cobaltburn avatar spongman avatar zivlakmilos avatar newmaidumosa avatar xnacly avatar blazkowolf avatar plneple avatar lucastavaresa avatar anis-dr avatar meenzen avatar devnote-dev avatar vhladko avatar unconv avatar marcusziade avatar tjdevries avatar shreyassanthu77 avatar leo-costa avatar alexjercan avatar fa-c-shus avatar tomasdurica avatar vincer2040 avatar echriser avatar ryanwinchester avatar wartab avatar trvswgnr avatar

Stargazers

 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.