hotg-ai / rune

Rune provides containers to encapsulate and deploy edgeML pipelines and applications
Apache License 2.0
136 stars 15 forks source link

Runefile Parsing #1

Closed kthakore closed 3 years ago

kthakore commented 4 years ago

Allow developers to create a rune file to be read, using the rune CLI tool

What is Done

Ability to run

  1. rune build .
  2. Output is a an AST or interm format. that build command can use to make WASM
kthakore commented 4 years ago

Started working on the parser:

  1. Looked up pest
  2. Considering replicating https://github.com/HewlettPackard/dockerfile-parser-rs/

Next steps:

  1. Fork dockerfile-parser-rs and implement runefile-parser-rs
  2. Implement FROM, CAPABILITY, OUT etc
kthakore commented 4 years ago

@Ge-te

Take a look at this https://pest.rs/#editor Let's look at https://github.com/HewlettPackard/dockerfile-parser-rs and make another library.

https://github.com/hotg-ai/runefile-parser

Track on https://github.com/hotg-ai/runefile-parser/issues/1

Ge-te commented 4 years ago

@kthakore Made simple parser implementation: https://github.com/hotg-ai/rune/tree/pest-implementation

Next step is implementing the dockerfile-parser and adapting to Runefile

Michael-F-Bryan commented 3 years ago

Finished in #27.