libnewton

Crates.iolibnewton
lib.rslibnewton
version2.0.0-beta
sourcesrc
created_at2024-05-24 06:25:17.012261
updated_at2024-05-24 06:25:17.012261
descriptionlibnewton, a library for interacting with Prism
homepage
repositoryhttps://github.com/taleroangel/libnewton
max_upload_size
id1250734
size39,911
รngel Talero (taleroangel)

documentation

README

๐Ÿช libnewton

A library for interacting with Prism ๐ŸŒˆ

Visit https://github.com/taleroangel/prism for more information about the Prism Project

This repository contains most of the implementation of the Prism protocol with all the numeric constants defined inside protobuf files in order to make porting to many programming languages easier

โœ’๏ธ List of supported programming languages

Current implemented languages and stages:

Language Status
Protobuf ๐ŸŸข
Rust ๐ŸŸข

โœด๏ธ Base (protobuf)

The base implementtion of libnewton (constants names and values like the InstructionSet, Registers and AddressingMode) are defined in a set of protobuf files found in the protobuf directory, this is the base from which new libraries should be built upon and can be a direct dependency

๐Ÿฆ€ Rust

The rust library depends on the protoc-gen-prost crate for generating the protobuf base files rust implementation. These files are commited to source control but can be recompiled using the following command invoked from parent directory:

protoc -I ./protobuf --prost_out=rust/src/proto ./protobuf/*.proto

๐Ÿ”ญ Newton

Newton is the name given to the Prism Instruction Interpreter therefore a Newton Interpreter is required in every slave device. Instructions are interpreted in Prism Binary Format which can be assembled from a Prism Assembly Language using this library

Commit count: 2

cargo fmt