Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build out the modification API #7

Open
sorear opened this issue Jun 26, 2016 · 1 comment
Open

Build out the modification API #7

sorear opened this issue Jun 26, 2016 · 1 comment

Comments

@sorear
Copy link
Owner

sorear commented Jun 26, 2016

Current assumption is that you can "open" a database, and then get write cursors that work on a statement level of abstraction and can modify math strings, etc. We don't expose (most? nameck data might be useful) nonlocal data while the database is open (if you want that, .clone() the database first — we'll make sure that's cheap). When you're done with a batch of edits, you can close the write cursors and the nonlocal data will recalculate using the existing incremental functionality.

Make this work, and provide examples. For instance: safe statement renaming that won't mess with comments.

@digama0
Copy link
Contributor

digama0 commented Jun 27, 2016

"won't mess with comments": ...except in ~ label references in comments. Same with constant renames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants