-
Notifications
You must be signed in to change notification settings - Fork 1
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
Review for Fritz #17
base: master
Are you sure you want to change the base?
Review for Fritz #17
Conversation
var varName = syntax.tree.getFresh(term); | ||
var fresh = VAR(varName); | ||
|
||
if (name === 'ASSERT') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a lot of duplicated code copied from var build = funciont () {...}
. Refactor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I was half way into factoring it out as a separate module.
@yangit I have left a few comment on this pull request. |
Menu API simplified Renamed navigator => menuRenderer Menu does not know about menuRenderer
* old puddle-syntax removed * view and menu code refactored * keycode replaced with keypressJS lib
Editor.js is now split among cursor.js, menu-builder.js, forest.js Event listener is used across libraries to notify each other of events. See reference.md for better description.
Please review. |
var linesForAnalyst = _.map(lines, function (line, id) { | ||
ids.push(id); | ||
//TODO why line.name is undefined after syntax.compiler.dumpLine? | ||
//Should not dumpLine be compatible with analyst? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, syntax.compiler.dumpLine
should be compatible with analyst.
+1 |
Travis is not passing until puddle-syntax version in NPM is bumped |
No description provided.