All Projects → polaris64 → p64lang_rust

polaris64 / p64lang_rust

Licence: MIT license
Simple language parser, interpreter and CLI built in Rust, to be used for baremetal/no_std environments.

Programming Languages

rust
11053 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

p64lang_rust

Simple language parser, interpreter and CLI built in Rust, to be used for baremetal/no_std environments.

Introduction

This repository contains three crates: -

  • p64lang: library containing a parser and interpreter for the work-in-progress P64PL language;
  • p64lang_cli: binary crate which includes to above library and provides a simple CLI for executing P64PL programs from stdin; and
  • p64lang_wasm: a library crate intended for the wasm32-unknown-unknown target with an associated WebPack project providing a simple web interface to the p64lang parser and interpreter.

The eventual goal of this project is to create a baremetal/no_std interpreted language for use within another (as yet unreleased) project. The p64lang crate includes a no_std feature which compiles the parser and interpreter without using the Rust standard library. This is an optional feature, the std feature is enabled by default.

Example

For a live example of the parser and interpreter running in the browser as a WASM module, please take a look at this example on my website.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].