Code Monkey home page Code Monkey logo

project_research_a's Introduction

project_research_a

プロ研Aの進捗・成果物

最終成果物→dynamic

run:

cd (target directory)
stack ghc Main.hs
./Main

中間発表範囲 

スライド

四則演算のインタプリタ

2. imp

A simple imperative language

3. imp2

2の構文を改良

最終発表範囲

スライド

4. func

3に関数を追加

5. rec

4の実行時コンテキストを改良

5のスコープの挙動をdynamicなものに修正

project_research_a's People

Contributors

kyawaway avatar

Watchers

 avatar

project_research_a's Issues

id は恒等関数なので,変数を表すには var とかいうのを使った方が良いかも

id は恒等関数なので,変数を表すには var とかいうのを使った方が良いかも

data AExpr = Id String | ...

とか

getVal env id  = lookup id env 

とかで, id という変数を使っているけど,個人的には若干違和感があるかもなぁと.

Variable(変数)をちょっと短くして var とかすることが多いかな.

逆に id の方が自然(go の本とかがこっちだったりとか)だったら教えてください.

クッソ細かい話.

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.