Slash Boxes

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 18 submissions in the queue.

Submission Preview

Magical S-Expressions

Rejected submission by cafebabe at 2018-05-29 11:06:21
Digital Liberty

A friend and programmer suggested an intriguing idea for magic in computer games. This was not proposed by my Lisp enthusiast friend but a mutual friend who previously showed no inclination in this area.

The proposal is a strong-typed [] magic incantation system where parameters may be null [], constants, variables or further incantations. So far, I have only described arbitrary S-expressions [] for Lisp [] evaluation []. However, a constant may be the name or number of a beast (or inanimate object or UUID of an object on a block-chain [] or the wizard equivalant of IN_ADDRANY). Furthermore, the rendering of an S-expression may be similar to the Rosecrucian [] logo or magical circles []. Arguably, such geometric forms are merely the traditional rendering of an S-expression. Presumably, verbal incantations would be similar to Latin. Indeed, the strict grammatical rules of Latin work well with strong-typing and eval.

Initially, this magic would be restricted to one game. However, with augmented reality, this type of magic would leak into the real world and affect non-players. With foreseeable advances, it would be trite to say that technology would become indistinguishable from magic []. That's trippy.

Learn Latin! Learn Lisp! Grow a Unix beard! Most importantly, do not trifle in the affairs of scripting wizards []! Otherwise you may be de-referenced!

Original Submission