GithubHelp home page GithubHelp logo

me4502 / wutlang Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 71 KB

Wutlang - An esoteric programming language based heavily of Brainf*ck.

License: MIT License

Java 100.00%
esoteric-programming-language brainf heap character stack language java interpreter cursor heap-point

wutlang's Introduction

wutlang

Wutlang - An esoteric programming language based heavily of Brainf*ck.

Wutlang version 1.0

Wutlang is an esoteric programming language, with capabilities for netIO and fileIO.

This is heavily inspired by Brainf*ck.

Basic Functions

  • '<' - Takes the cursor back one spot.
  • '>' - Takes the cursor forwards one spot.
  • '.' - Output current heap cell to current output as character. Default output is console.
  • ',' - Set current heap cell to current input. Default input is console.
  • '+' - Increases current heap point.
  • '-' - Decreases current heap point.
  • '[' - Open loop. Skips past ']' if 0 at heap.
  • ']' - Close loop. Returns to '[' when found.

Stack Functions

  • '^' - Push current input to stack.
  • 'V' - Drop current input from stack to heap.

Network Functions

  • '$' - Open network connections on localhost at port specified as characters until 0 After the 0, the length should be specified as a raw number. Cursor will be on length afterwards.
  • '@' - Set network stream as input.
  • '!' - Set network stream as output
  • '%' - Close network stream.
  • '~' - End server.

File Functions

  • '&' - Open file connections. Filename is characters until 0.
  • 'o' - Set file as output.
  • 'i' - Set file as input. Appends.
  • 'p' - Clears file.
  • 'e' - Closes file streams.

Standard IO Functions

  • 'c' - Set console as output.
  • 'r' - Set console as input.

Miscellaneous

  • '#' - Comment character. This line is a comment. Supports inline comments.
  • ':' - Dump heap.

wutlang's People

Contributors

me4502 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jgarte

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.