Giter Club home page Giter Club logo

insanity's Introduction

Insanity

An esoteric programming language that consists of single symbol commands.


About

Insanity is an Esoteric Programming Language designed by Bryan McClain. Similar to assembly, Insanity uses single-symbol commands such as < + and $ to represent simple operations. Although Insanity should be thought of as a full-blown computer (with registers, memory, and a stack), this C program is an Insanity interpreter that simulates the computer. With this program, Insanity programs are compiled to bytecode, then run through the Insanity bytecode interpreter.

The Insanity interpreter is designed to use terminal colors when running the program. To make it cross-platform, several versions of the code exist:

  • Insanity.c - Runs on any platform and does no color output
  • Insanity-Windows.c - Designed to run on Windows. Color is handled through Window OS calls.
  • Insanity-Linux.c - Designed to run on Linux-based platforms. Color is handled by terminal escape codes.

Compiling

Compiling on Linux

Compile with the GCC compiler:

gcc Insanity_Linux.c -o Insanity.exe

Compiling on Windows

  1. Install MinGW for Windows, which includes the GCC compiler and other necessary components.
  2. Compile with the command:
gcc Insanity_Windows.c -o Insanity.exe

Note: requires access to conio.h and windows.h


Usage

Insanity.exe <Program1> <Program2> ...

Insanity programs should be stored in text documents, and passed as parameters into the program. Insanity can run any number of programs, one after another.



Insanity Programming Language

To read about writing programs for Insanity, please check out the official language definition.

insanity's People

Contributors

comprosoftceo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.