filbert icon indicating copy to clipboard operation
filbert copied to clipboard

v1 target refinement?

Open robertleeplummerjr opened this issue 7 years ago • 2 comments

@differentmatt ty so much for your hard work on this project! I've been able to review in depth the internals of filbert, and what it accomplishes. I was hoping to open communication between The OpenMined project for assisting with this project so to facilitate growth towards v1. In it's current state, there is much code in place to assist with getting the ast to run in javascript, and while I think that is a fantastic concept, I would like to see what is thought about splitting that behavior into two items:

  1. An ast parser, that just parses ast's as a pseudo javascript reference
  2. An ast translator (or caster) that changes the ast to be compatible with an environment

Thoughts welcome!

robertleeplummerjr avatar Oct 16 '17 15:10 robertleeplummerjr

Hey @robertleeplummerjr

Checkout skulpty, it has the sort of separation your talking about. It also uses the skulpt parser instead of acorn, so it's a little bit more complete.

https://github.com/codecombat/skulpty

basicer avatar Oct 28 '17 01:10 basicer

Hi @robertleeplummerjr,

I'm open to working with you and @OpenMined on this project, including separating behaviors as you suggest.

You may want to check out the skulpty project @basicer referenced first, since it's probably a stronger base for what you're looking for. At @codecombat we switched from filbert to skulpty about a year ago for our in-browser Python needs.

differentmatt avatar Nov 14 '17 07:11 differentmatt