Coder Social home page Coder Social logo

ll1ll's Introduction

LL1LL

LL(1) Light-weight Language  - LL(1)文法で記述した簡単な言語コンパイラ

学生の内になにかやっておきましょう企画(1) 一応α版。

* 実装は(ANSI)C
* 名前の通り, 構文解析には扱いやすいLL(1)文法の, 再帰下降型パーサを作成する
* まず出来上がりのものができるまで(過度な)最適化はしない
* 仮想機械を用意し, 仮想機械言語(コード)を生成し, コンパイル後即時実行する
* サポートする型
  - 整数型, (倍精度)実数型, 論理型, 文字列型, 配列型, 関数型, ストリーム型(ファイルポインタ)
* なるべく動的型付けに
* サポートする構文
  - if(else if), for, while
* サポートする式
  - +, -, *, %, ++, --, &&, ||, ',', !, ==, !=, >, >=, <, <=,

ll1ll's People

Contributors

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