Comments (4)
Ok, I've decoupled the pieces in Typescript, but for performance, a bunch of analysis operations from lilgit Typescript side really need to be offloaded to python.
from verdant.
Current APIs operations:
- Utils
- findNodeAtRange
- inRange
- reduceASTDict (could be done at parsing stage?)
- dictToCodeCellNodey (why is this needed?)
- Match [Py]
- recieve_newVersion
- finalizeMatch
- grabUnmatchedParents
- matchParentNodes
- scoreMatch
- matchLeaves
- findMatchOptions
- buildStarNode
- matchLiterals
- forceReplace
- Resolve
- repairMarkdown
- repairCellAST
- shiftAllAfter
- shiftAllChildren
- dictToNodeyList
- nodeyToLeaves
coldStart
[Ts] is for when we start a notebook with no prior historyhot start
[Ts] is for when we start a notebook with prior history and want to match on init- freshNodey & createCellNodey (can probably be combined?)
- generateCodeNodey is different how?
- repairCell (why are we repairing only at the cell level???)
- repairCodeCell
- parseRequest [Ts]
- failSafeParse [Py]
- cleanCodeString [Ts]
from verdant.
Seeing some formatting on the Ts end that should be handled in the original parsing:
if ("type" in dict === false) {
dict.type = "Module";
}
Also, need to return safe defaults from parsing if an error occurs.
from verdant.
Next step: isolate everything out that should be moved to Py, and make sure app works with no Py language support ... ie, how the app will work with Julia or R, make sure that safe default behavior works well, and that will ensure the language support API is cleanly separated
from verdant.
Related Issues (20)
- On load, estimate best match for nodey when the notebook has significantly changed
- Verdant run list does not scroll
- No parser support for Python 2.7, need to figure out if the user file is Py2 or Py3 HOT 1
- Article citing the Project HOT 1
- Add filters HOT 1
- Allow custom notes on versions of artifacts
- Start writing tests!
- README updates
- Improve storage performance
- Get server extension working for the parser
- Update search results on history update
- Inspector highlighting should work in ghost book HOT 1
- Separate out all advanced language support
- Installation fails at Jupyterlab build HOT 2
- Support jupyter 2.x HOT 1
- Can not build successfully HOT 1
- yarn start fails with conflicting dependencies HOT 4
- Update Readme to list Jupyterlab v3 HOT 1
- Incompatible with JupyterLab>=3.1.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verdant.