Skip to content

A poetically dynamic and simple programming language that compiles to WebAssembly!

Notifications You must be signed in to change notification settings

FantasyInternet/poetry

Repository files navigation

Poetry

A poetically dynamic and simple programming language that compiles to WebAssembly!

Much features! Very hype!

  • Easy to learn and use
  • Minimalistic syntax
  • Customizable
  • Full control of wasm imports and exports
  • Bundle multiple source files (including .wa(s)t-files!)

Usage

$ npm i -g poetry-compiler
$ poetry my_program.poem -b my_program.wasm

Example

export_memory "memory"
import "env" "log" _log 2 0

func log message
  _log (address_of message) (size_of message)

export "init" init
  log "Hello Poetry! 🌳"

Check the wiki for documentation!

About

A poetically dynamic and simple programming language that compiles to WebAssembly!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published