Skip to content
/ picol Public

Pico-Language & Pictorial Illustrated Compiler Organization by Layer

License

Notifications You must be signed in to change notification settings

Jack-Q/picol

Repository files navigation

Picol

Picol-Text

Build Status Dependency Status devDependencies Status

>> View Picol Online

Picol as Pico-Language

1 Pico-L is 10-12L, a tiny volume that can hold only a small neuron.

In this project, a minimal C-like language is to be implemented for demonstrative purpose. Since the language is so trivial that it is inadequate for any real world application, this language is named as PicoL(Pico-Language, where "pico-" is 10-12).

Picol as Pictorial Illustrated Compiler Organization by Layer

Pico Playground for Picol

Pictorial Illustrated Compiler Organization by Layer is a serials of interactive applications that illustrates the construction of a simple compiler (of the PicoL).

Usage

# compile and execute core CLI
npm run core "src-file.picol"

# watching code changes for core module
npm run dev:core

# watching code changes for UI module
npm run dev

# build UI module
npm run build

Road map

Currently, this project is still in progress. Some of unimplemented features are listed below.

  • Core Module (PicoL)
    • Language specification
    • Quadruple generator static type checking
    • Executor dynamic type checking
    • Reference to array implementation
    • Symbol management for nested context
    • More complete CLI
  • UI (PICOL)
    • Memory view for sparse array in JavaScript
    • Mobile screen adaption

License

Picol is licensed under MIT License. Copyright © 2017 Jack Q

About

Pico-Language & Pictorial Illustrated Compiler Organization by Layer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published