Giter Club home page Giter Club logo

gachalang's Introduction

Gacha

Language Specification and Compiler

Updates

  • Matcher and Parser for Gacha in OCaml (Jan. 5, 2021)
  • Added AST template (Mar. 25, 2021)

gachalang's People

Contributors

elrodrigues avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

gachalang's Issues

Write Parser in OCaml

User Story

As a Dev, I would like to parse any complex and well-defined grammar so that I can evaluate a statement.

Detailed Description

The parser is implemented in OCaml, and uses a stack-like structure to parse any well-defined grammar and generate a valid parse tree.

Acceptance Criteria

  • Given a statement from a complex and well-defined grammar, then the OCaml parser will parse the statement correctly.
  • Given a statement from a complex and well-defined grammar, then the OCaml parser will correctly generate a parse tree.

A general matcher and parser

Epic

Design a general matcher and parser that accepts any well-defined grammar. This will be tuned to Gacha's grammar in later Epics.

User Stories

  • Write Matcher - Story #2
  • Write Parser - Story #3

Write Matcher in OCaml

User Story

As a Dev, I would like to match any complex and well-defined grammar so that I can design an interactive env.

Detailed Description

The matcher is implemented in OCaml, and uses a stack-like structure to match any well-defined grammar.

Acceptance Criteria

  • Given a statement from a complex and well-defined grammar, then the OCaml matcher will match the statement correctly.

Outline grammar

Epic

Outline the grammar used in Standard Gacha. This is a fundamental issue that should ideally be sorted first.

User Stories

  • story #5
  • story #4
  • story #6

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.