Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fg123/wendy
Wendy is an compiler / interpreter for WendyScript
https://github.com/fg123/wendy
compiler interpreter programming-language wendy
Last synced: 3 months ago
JSON representation
Wendy is an compiler / interpreter for WendyScript
- Host: GitHub
- URL: https://github.com/fg123/wendy
- Owner: fg123
- License: mit
- Created: 2017-01-23T18:04:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T19:54:55.000Z (about 3 years ago)
- Last Synced: 2024-08-03T18:14:58.216Z (6 months ago)
- Topics: compiler, interpreter, programming-language, wendy
- Language: C
- Homepage: https://wendy.felixguo.me
- Size: 1.72 MB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- AwesomeInterpreter - wendy
README
![]()
**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](http://wendy.felixguo.me).WendyScript can be compiled and run online at [wendy.felixguo.me/code](http://wendy.felixguo.me/code).
Technical implementation details can be found at the [wiki](https://github.com/fg123/wendy/wiki).
The source can be built by simply running:
```
make
```