User Tools

Site Tools


microgrammar

The entire character dictionary consists of…

0x00..0x09 = '0'..'9'
0x0a..0x23 = 'a'..'z'
0x24 = _
0x25 = -
0x26 = +
0x27 = .
0x28 = [
0x29 = ]
0x2a = -space-
0x2b = "
0x2c = '
0x2d = #
0x2e = ;
0x2f = ,
0x30 = !
0x31 = ?
0x32 = -diamonds-
0x33 = -duplicate_boxes-
0x34..0x3f = -unassigned-
| 0x40 = -diamonds-
| 0x80 = -duplicate_boxes-

Minimal CSET Looks Like This

Digital Joystick Interface

Bits are or'd/and'd.

0x01 = up
0x02 = down
0x04 = left
0x08 = right
0x10 = f1
0x20 = f2
0x40 = f3
0x80 = f4

MicroGrammar Keyboard

The keyboard looks like this…

Programming

The integrated IDE, debugger and assembler provides all you need to get started. Debugging operates over a fast serial link (typically USB or Ethernet).

Programming language is very simple. The only basic operations are the container, assignment, graph and inference tools.

Mathematical provisions are 1D and 2D arrays. Fixed size matrices (2,3,4 square). Vectors (2,3,4 length). Future extensions are possible.

Data structures are lists, tree, set/map (set is map with no data).

Syntax is minimal consisting of containers, identifiers and lists.

Special Characters

To make programming easy there are certain special characters.

'=' is used to match types to name to values e.g. type=name=value. This chain can be broken anywhere along is length, values can be omitted, place holders can be used.

'?' means “deduce” AKA -“you figure it out”.

'fx' (not representable in ASCII) means 'function'.

Also triangles mean various things (eventually!)

microgrammar.txt · Last modified: 2018/02/01 05:54 by xylene