- From: tim duval <tim.duval11@gmail.com>
- Date: Tue, 4 Oct 2022 19:40:06 -0400
- To: public-n3-dev@w3.org
Received on Tuesday, 4 October 2022 23:40:30 UTC
Do you know of any AST (Abstract Syntax Tree) translations of any languages to N3? I need to create a translation from simple rules written in python/sql and would like to use AST so it can scale (maybe to other languages, e.g., JS?). Wondering if something like this could open doors for wider adoption of N3 if rules can be captured in a language familiar to non-N3 speaking folks? I notice that William is using AST for the N3 Editor (from N3 to JS)...I am interested in (*LANGUAGE* to N3) Here's someone transpiling lambda calculus to JavaScript: https://medium.com/swlh/writing-a-simple-transpiler-in-javascript-3c34ccb99e74 And there's the Universal Transpiler here: https://github.com/jarble/transpiler Thanks!!
Received on Tuesday, 4 October 2022 23:40:30 UTC