Giter Site home page Giter Site logo

water's Introduction

water

                                 ___ _  _ ____
                                  |  |__| |___
                                  |  |  | |___



                                        888                    
                                        888                    
                                        888                    
                 888  888  888  8888b.  888888 .d88b.  888d888
                 888  888  888     "88b 888   d8P  Y8b 888P"   
                 888  888  888 .d888888 888   88888888 888     
                 Y88b 888 d88P 888  888 Y88b. Y8b.     888     
                  "Y8888888P"  "Y888888  "Y888 "Y8888  888     

                  ___________________________________________
                  ===========================================



                    _    ____ _  _ ____ _  _ ____ ____ ____
                    |    |__| |\ | | __ |  | |__| | __ |___
                    |___ |  | | \| |__] |__| |  | |__] |___

Stream-based functional language tailored for ısmo

Thesis

1. Everything's a stream

Streams.

1.1 Everything's a value

No bullshit statements.

1.2 Values are strings

.abc is a string. .12 is also a string. No numbers, no bullshit types.

1.3 Strings are Lists

.1 is (-- -- ++ ++ -- -- -- ++).

1.4 Lists are streams

Streams.

2. Streams are functions

Functions.

1.1 Objects are also functions

//TODO

3. Functions are apps

compose ^upper [scan () concat]
$ ./uppercase.wa <<< "abc"
ABC

Syntax

JavaScript Water Description

| | | Literals "normalString" | @'normalString "$þ€¢íæł cħ@r $ŧrìng" | @'{$þ€¢íæł ¢ħ@r $ŧrìng} No distinction between chars and strings | 'a | 0xabc.123 | 0x'abc.123 123.456 | 0'123.456 0o707.123 | 0o'707.123 0b101 | 0b'101 true/false | ++/-- | [1, 2] | (1 2) | | | Objects obj.normalProp | obj'normalProp obj["$þ€¢íæł cħ@r þrøþ"] | obj'{$þ€¢íæł cħ@r þrøþ} | | | Functions (x, y)=> x(y, y) | \x \y x y y | | | Operations [BACKTICK]x is ${x} and that's fine.[BACKTICK] | @('{x is } x '{ and that's fine.}) 1 + 2 * 3 | 0'(1 + 2 * 3) | Math

water's People

Contributors

probitlabs avatar

Watchers

James Cloos avatar  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.