Category:Klingphix

From Rosetta Code
Language
Klingphix
This programming language may be used to instruct a computer to perform a task.


Listed below are all of the tasks on Rosetta Code which have been solved using Klingphix.

Klingphix is a pure interpreter developed in Phix (http://phix.x10.mx/). It is based on the use of a stack for the passage of data between words (the equivalent of traditional procedures) and uses reverse Polish notation, being procedural and imperative. The stack have global scope, and there is only one word separator sign: white space.

Since Phix is interpreted, although fast, it does not allow Klingphix (also an interpreter) to be fast. However, it's useful for making small and, above all, stimulating and fun programs... at least for me (which, after all, is what I wanted it for). If anyone wants to take a look, in https://klingphix.jimdofree.com/ you have the zipped file containing the source code, example programs and an executable version of Klingphix. No installation is required (the contents of the file are unpacked where you want them and that's it). There is also a short instruction manual (in spanish). The way to use the interpreter is the usual way: from the command line write "Klingphix <program.tlhy> [program arguments]". For example: Klingphix Fibonacci.tlhy.

Anyone who likes to browse through the code will see that it is very easy to extend the features of Klingphix, so if anyone is encouraged, I'd like you to share your developments.