Giter Site home page Giter Site logo

molarmanful / sclin Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 614 KB

A concatenative cyborg chimera.

License: MIT License

Scala 96.15% Shell 0.99% Batchfile 2.18% JavaScript 0.61% Dockerfile 0.07%
arbitrary-precision array-language concatenative-language esolang functional-language goto interpreter scala stack-based-language type-conversion

sclin's Introduction

sclin

maven build license

sclin 100I-a \; tap
  "Fizz""Buzz", over 3 5, % ! *` \pop ||# n>o

Try it on scline!

A concatenative cyborg chimera.

sclin is a programming language that leans heavily into its weirdness. Some of its features include:

  • Postfix notation - sclin reads left-to-right with no precedence rules. Concatenation is composition!
  • The Stack - sclin's FIFO stack serves as both storage and a "staging ground" for function arguments. This - in tandem with stack manipulation commands - enables an intuitive point-free style that mirrors those found in functional languages.
  • Line-jumping - sclin treats each line as a separate function, enabling "GOTO"-style line execution commands to create recursion and other control flow structures.
  • Vectorization - Most of sclin's built-in commands vectorize, which allow those commands to operate on arbitrarily nested data structures.
  • Concise symbols - sclin's commands follow a pictographic language to convey and distinguish properties.
  • Type fluidity - Most (if not all) sclin commands auto-convert types as necessary, eschewing type safety for flexibility and expressiveness.

For more info/docs, please visit the wiki.

Installation

Browser Interface

Try it on scline! The official online interpreter for sclin.

Requirements

  • JRE/JDK 21+

Installation with Coursier

sh cs install --contrib sclin

Prebuilt Executable

Download the latest executable JAR from releases and place it on your $PATH. Verify that it works with sclin --help.

Building from Scratch

Clone this repo, cd into it, and run ./mill sclin.assembly (use mill.bat instead of mill if on Windows). The built JAR is at out/sclin/assembly.dest/out.jar.

Tooling/Projects

Licensing

Made with โ™ฅ by Ben Pang. Released under the MIT License.

sclin's People

Contributors

github-actions[bot] avatar molarmanful avatar scala-steward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

scala-steward

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.