Skip to content

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

License

Notifications You must be signed in to change notification settings

polaris64/p64lang_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published