Tuesday 8 December 2020

Latin Rap (Saphion Assembly)

I made up Latin Rap. Wanna hear some? mova sita nope trie What that does I have no idea. But I know what it does as a programming language on a Saphion. mova - mov e to register a sita - output (broadcast) e register nope - reset e register, set to flywheel (unstable) trie - put a random 1 or 0 into e nomova - mov a to register e nositu - read 'in' (register u) into e nonopy - set all registers to zero notrie - meta (profit) a up e down i left o right u in y out e is the accumulator. a, i, o, u, y (other) Logicl Operations: not - invert register and - and e with source or - or e with source xor - xor e with source No in front of a logical operation means to build the probability graph... 1 bit - no bit 3 bits - mov, sit, nop, tri, not, and, or, xor 3 bits - e, a, i, o, u, y, _, __ 1 bit - the s bit, lists 1 bit - the x bit, who knows == 10 bits (the right amount)

Thursday 19 November 2020

BrainFuck

Brainfuck is <>+-[],. I think. R is the current register, an integer. *R is the register at R. < - mov to the left, increment R > - move to the right, decriment R + + increment ring/register at R - - decrement register/ring at R [ - start loop, loop continues if *R is non-zero ] - end loop, loop continues if *R is non-zero , - output register . - read into register ! - initialize register, set to zero ? - deallocate register, add to free pool Brainfuck is a Turing Machine with more than 1 bit per place. Any character tht is not in the above set is passed through. That means this is a legal brainfuck document. Who knows what it computes though. Let's find out. X

The Pick Data Structure

A pick is a Markoff Chain. I am not a piack in Clarity. x is a b c and d is a list in Clarity. y is a b c or d is a pick in Clarity. x with a probabity of 50%. x is a half the time, b a quarter of the time, c or d. What does that mean? 50% of the time x is a 25% of the time x is b 12.5% of the time x is c 12.6% of the time x is d x is a b c and d is the list a b c and d all of the time.b That is an assertion. It can be checked by a background process. x is x all of the time x is y half of the time. That is an error or some sort, not quite a contradiction. I should learn more Prolog. -- QED

Friday 30 October 2020

quill - The Quill Language

Welcome to the Quill Language blog, a place where I share and discuss
a language I am working on titled 'quill'.  It is a Common Lisp++, 
something that is just loaded at runtime quite easily (load "quill).

The full of Common Lisp is there, with some new words added:

	enable - the package manager
	reader - the reader object
	printer - the printer object
	evaulater - the evaulator object
	evaluator - a symbol macro for evaulater

It runs in Solaris Lispworks 7, and will be tested on SBCL and possibly
others (clisp on WIndows) in the future.

Latin Rap (Saphion Assembly)

I made up Latin Rap. Wanna hear some? mova sita nope trie What that does I have no idea. But I know what it does as a programming languag...