powr-parser

Crates.iopowr-parser
lib.rspowr-parser
version0.0.1
sourcesrc
created_at2022-12-01 00:02:56.725962
updated_at2022-12-01 00:02:56.725962
descriptionparses tokens into AST. part of the power project
homepage
repositoryhttps://github.com/minsk-dev/power
max_upload_size
id727170
size14,156
Marla Albuquerque (marlalain)

documentation

README

the power project

power aims to be a javascript/typescript engine to power serverless functions over the web. the javascript code gets compiled to remove as much cold start interpreting would cause as possible.

todos

more or less where the project stands.

  • tokenizer/lexer/scanner
  • parser / grammar (in progress)
  • AST
  • transpiler (temporary feature)
  • compiler

roadmap

for this project to get on a usable state as fast as possible, it will have to follow a roadmap of changes.

transpiling

the initial state of the project will be to transpile JS/TS code into another language. abstracting the compilation side of the project to focus on getting everything else in place. there's three potential languages power could compile to:

  • C++
  • Zig
  • Rust

each of these languages would have their pros and cons into being used in this project. which is why eventually they will have to be replaced to compiling directly instead.

license

currently, the project uses SSPL-1.0. this license will be changed when the project gets to a more usable state. because this license blocks lesser effort (for a lack of a better term!) contributions (and these are very desirable!), the license may become more permissive before the project is shippable.

Commit count: 186

cargo fmt