Chester is in the early stages of development. Nothing works yet.

Chester v0.1.1

... is a general purpose, kitchen sink programming language.

... has an interactive web ui for directly expressing abstract syntax trees (ASTs).

... runs on a funky in-browser virtual machine (VM), and is deeply machine independent.

... allows high-level programming out of the box, but is firmly grounded to the metal.

... should be able to implement a wide variety of programming languages naturally, i.e. not just in a turing complete sense.

Language

Axioms

String, Object, Builtin, Array

Builtins

Hello World: printHelloWorld

Evaluation: noeval, eval, lazy

Control Flow: if, while, for, break, continue

Assignment: assign

Lookup: variableLookup, arrayLookup, objectLookup, pointerLookup

Function: call, function, return, hardwareOperation

Special Type: ast, bitvector, dynamic, duck, unknown, type, dangerous

Exception: try, throw, exception, assert

String: string, concat, slice, parse

Number: number, bigint, fixedint, uint, float, pointer, index

Arithmetic: add, subtract, multiply, divide

Bitwise: and, or, not, xor, shift

Math: cos, sin, squareRoot, pow, round

Random: random

Boolean: true, false, and, or, not

Equality: equal, notEqual, truthy, falsy

Comparison: greaterThan, lessThan, greaterThanOrEqual, lessThanOrEqual

Object: object, null, method

Classical Inheritence: class, instance

Variable Size Data Structure: list, table, undefined

Fixed Size Data Structure: array, struct, nullPointer

Sequence: length

Json: json, jsonGraph

Concurrency: run, task, queue, shared, simd

Standard I/O: print, input, sendBits, receiveBits

Graphics: canvas, writePixel, readPixel, drawImage, drawCurve

Filesystem: readFile, writeFile, crud, filesystem

Http: fetch, server, request, response

Builtin: replaceBuiltin, withBuiltin

Virtual Machine: machine, cpu, fpga, step

Standard Library

...

Package Manager

Libraries

...

Programming Langauges

...

Examples

...

Other

...

Your Code

...

AST Builder

Core

Macros

Virtual Machine

Standard Input, Output, Error

Global Namespace

Interpreter

Memory

Compute

Graphics

Filesystem

Network

Device I/O

Secondary Virtual Machines

History

Manual