Skip to content
Wendy is an compiler / interpreter for WendyScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
lib/src
samples
src
tests
tools
.gitignore
LICENSE.md
README.md
build-libraries.sh
io-test.sh
makefile
yate.toml

README.md

WendyScript

WendyScript is a dynamically typed, imperative, bytecode-compiled programming language.

WendyScript supports first class functions and closures, structure based objects, easy list manipulation, and an easy to learn syntax.

Here is the code to print a list of odd numbers from 1 to 100:

for i in 1->100 if i % 2 == 1 i

or more clearly:

for i in 1->100 {
    if (i % 2 == 1) {
        i
    }
}

In fact, you can even use the short form keywords and it becomes:

#i:1->100?i%2==1i

The syntax for WendyScript can be found at wendy.felixguo.me.

WendyScript can be compiled and run online at wendy.felixguo.me/code.

Technical implementation details can be found at the wiki.

The source can be built by simply running:

make
You can’t perform that action at this time.