Giter VIP home page Giter VIP logo

pimii-legacy's Introduction

pimii - The Vision

pimii is programming language intended for education and research. This project contains a compiler along with a LISP-like virtual machine (executing SECD code). It uses a SmallTalk-80 like syntax as input and is therefore very flexible.

To use pimii without compiling, you can download the /deploy folder which contains a more or less up-to-date version of the vm.

The language is pure functional and has no built in control structures or keywords. Therefore it could be completely translated into a foreign (human) language.

To use this project you have to clone the repository and install the Qt-Creator (comes with the Qt SDK). You'll then be able to open this project in the Qt Creator.

Language

Types

pimii knows:

  • Numbers (range depends on your wordsize of your machine). The default startup script reveals the wordsize ;-)
  • Decimal numbers (floats)
  • Symbols (not in a LISP sense). Everything starting with a hash is a symbol and can be thought of a self representing constant. Examples are #TRUE and #FALSE which are used to represent results of boolean functions.
  • Cells: A cell is a pair of two values (car, cdr). It can be used to build linked lists. Being a LISP descendand, nearly everything in pimii is a list, including functions.

Syntax

  • TODO: Learn from some examples in deploy/examples/example.pi and /deploy/lib/pimii.pi (You should launch pimii which provides syntax highlighting :-)

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.