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

Tasks: Short Term Tasks for Umur #836

Closed
14 of 26 tasks
umuro opened this issue Jul 14, 2022 · 2 comments
Closed
14 of 26 tasks

Tasks: Short Term Tasks for Umur #836

umuro opened this issue Jul 14, 2022 · 2 comments
Assignees
Labels
Interpreter The core squiggle execution engine (reducer)

Comments

@umuro
Copy link
Contributor

umuro commented Jul 14, 2022

Just to keep my short term priorities visible<
** Urgent **

Short term Issues:

Unscheduled

Waiting for

Background:

@umuro umuro added the Interpreter The core squiggle execution engine (reducer) label Jul 14, 2022
@umuro umuro self-assigned this Jul 14, 2022
@umuro
Copy link
Contributor Author

umuro commented Jul 20, 2022

To summarize again my suggested small task list is

  • Unit test for typeCheckArguments to show how it can replace the switch statement
  • Add any type
  • Provide the new interface // 3 dayish
  • Provide bindings backdoor and remove partials // 1 dayish
  • remove call keyword // 0.5 dayish.
    -- milestone
  • Go on typing // 5 dayish
    -- milestone
  • errors // 2-3 dayish
    -- milestone
  • memoization //2-3 dayish

Highlights of the new interface:

  • evaluate(project, sourceId). Text is not evaluated it; instead identified source in a project is evaluated. To keep the tests around without changing I will provide a back compatible evaluate(which creates an on the fly single source project) but bindings will be gone.
  • getBindings(project, sourceId). Backdoor for bindings of a piece of source code. Partial concept and passing bindings will be gone. The code will work on continuations. Bindings are supplied for debugging only not for execution continuation.
  • chainTo(project, source1, source2). Make source2 a continuation of source1. This replaces continuing with bindings.

Later the project will be enhanced for errors and memorization

  • getMemoizationTable(project)
  • As everything has to be evaluated with a sourceId, all errors will have full location like in normal compilers.

@berekuk berekuk moved this to 🆕 To prioritize in Overview Oct 3, 2022
@berekuk berekuk added this to Overview Oct 3, 2022
@umuro
Copy link
Contributor Author

umuro commented Nov 3, 2022

All resolved or cancelled...

@umuro umuro closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Interpreter The core squiggle execution engine (reducer)
Projects
Archived in project
Development

No branches or pull requests

1 participant