Skip to content

Alextopher/serotonin

Repository files navigation

serotonin

⚠️ currently working on a complete rewrite using a different set of technologies and better programming practices

A toy stack-oriented programming language that transpiles to Brainfuck and is inspired by Joy.

The project and documentation are works in progress.

Hello World

IMPORT std;

main == "Hello, World!" sprint;

Compile:

$ serotonin hello.sero
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++[<]>[.>]

Check it out, and feel free to leave feedback.

License

Copyright (c) 2022 Christopher Mahoney. This software is licensed under the MIT license. Read LICENSE for all the details.

About

WIP : A toy stack-oriented programming language that transpiles to Brainfuck

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages