Crates.io | wrought |
lib.rs | wrought |
version | 0.1.2 |
source | src |
created_at | 2021-01-12 04:26:36.447091 |
updated_at | 2021-01-15 22:16:15.688761 |
description | A Rust implementation of the Wrought compiler |
homepage | https://github.com/wrought-lang/wrought-rs |
repository | https://github.com/wrought-lang/wrought-rs |
max_upload_size | |
id | 340709 |
size | 48,160 |
The Wrought programming language is an imperative expression language designed to directly match the semantics of WebAssembly. Its syntax is based on the Rust programming language with deviations to simplify lexical analysis and model WASM more closely. Wrought offers a small subset of what is available in major multi-paradigm languages and is not designed for large scale production usage.
For more information visit https://wrought.cc
This crate contains all of the core Wrought language command line tooling.
For information about the commands and how to write them, run the help utility using -h
.
The compiler is under development and it is not yet possible to compile Wrought files to WebAssembly.
Until then, additions will be incrementally be added to the check command which runs the compiler phases up to and including the one specified outputting any error information and dumping the output of the last phase if successful.
Wrought's tooling is implemented using the following libraries. It would not have been made without them.
clap
- command line parsingcodespan
and codespan-reporting - pretty error messageslogos
- the lexer / tokenizer generatorparity-wasm
- a libary for interacting with the low-level WebAssembly formats