Coder Social home page Coder Social logo

pyterpreter's Introduction

PyTerpreter

A interpreter founded during the UZH software construction module.

Pattern

Issue: "CATEGORY-TYPE: Issue Summary"
Branch: "category-type-branchname"
Commit: "CATEGORY-TYPE: Commit message"

Categories: "DOCUMENTATION", "INTERPRETER", "TRACING", "EXAMPLE"
Types: "FEATURE", "BUGFIX"

Issue summary: Standard english sentence casing.
Branch name: All lower case.
Commit message: message: All lower case with first letter uppercase.

Workflow

  1. In meating create issues based on roadmap.
  2. Assign issues to members.
  3. Members create branches and commit changes.
  4. Members open pull requests which the others review.
  5. When merged, issue gets closed.

Structure

Repository level: Repository, administrative and dev related things.
Distribution level: UZH module assignment.

pyterpreter's People

Contributors

c0decycle avatar patertuck avatar twhining avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

pyterpreter's Issues

INTERPRETER-FEATURE: Mathematical Operations

  • add: ["add", number, number]: number
  • sub: ["sub", number, number]: number
  • abs: ["abs", number]: number
  • multiply: ["multiply", number, number]: number
  • division: ["division", number, number]: number
  • power: ["power", number, number]: number

INTERPRETER-FEATURE: Class and Class Operation

  • class: ["class", ?inheritance, instructions]: ["class", ?inheritance, instructions]
    ! Inheritance is entire class definition !
  • inherit: ["inherit", "function"]: ["function", "parameter"[], instructions]
    ! One and only one constructor !
    ! When inherited instructions get merged and overwritten ones get cached !
    ! Inherit operation fetches from cache !

INTERPRETER-FEATURE: Variables

  • set: ["set", "name", value]: "illegal"
  • get: ["get", "name"]: value
    ! Get operation environment bottom to top !
    ! Set operation environment top to bottom !

INTERPRETER-FEATURE: Boolean Operations

  • and: ["and", boolean, boolean]: boolean
  • or: ["or", boolean, boolean]: boolean
  • not: ["not", boolean]: boolean
  • equal: ["equal", value, value]: boolean
  • less: ["less", value, value]: boolean
  • greater: ["greater", value, value]: boolean
  • less equal: ["lessEqual", value, value]: boolean
  • greater equal: ["greaterEqual", value, value]: boolean

INTERPRETER-FEATURE: Function and Function Operations

  • function: ["function", "parameter"[], instructions]: ["function", "parameter"[], instructions]
  • call: ["call", ["function", "parameter"[], instructions], value[]]: value
  • ?return: ["return", value]: "illegal"
    ! No return then none !
    ! Return ends instructions !
    ! Return only allowed when environment usage is function !

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.