Git Product home page Git Product logo

mini-ruccola-csharp's Introduction

This is a port of the compiler part of vm2gol-v2 (Ruby version).

C#で簡単な自作言語のコンパイラを書いた
https://qiita.com/sonota88/items/c0a5bf76d7eb3aa4c507

  $ mcs -help | grep VERSION
   -sdk:VERSION         Specifies SDK version of referenced assemblies
                        VERSION can be one of: 2, 4, 4.5 (default) or a custom value
git clone --recursive https://github.com/sonota88/mini-ruccola-csharp.git
cd mini-ruccola-csharp

./docker.sh build
./test.sh all
  $ LANG=C wc -l src/*.cs src/lib/{Types,Utils}.cs
  422 src/CodeGenerator.cs
   28 src/Compiler.cs
   73 src/Lexer.cs
  430 src/Parser.cs
  242 src/lib/Types.cs
   66 src/lib/Utils.cs
 1261 total

  $ cat src/*.cs src/lib/{Types,Utils}.cs | grep -v '^ *//' | wc -l
1256

  $ wc -l src/lib/Json.cs
106 src/lib/Json.cs

mini-ruccola-csharp's People

Contributors

sonota88 avatar

Stargazers

bea4dev 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.