benbro

Results 110 comments of benbro

Hi @migerh, Thank you for your quick response. The original ggb file has "b + A" in the attribute and "A +b" in the expression (different order). Is there a...

Do you mean something like the following? http://stackoverflow.com/questions/2705727/generate-syntax-tree-for-simple-math-operations http://mathjs.org/ http://silentmatt.com/javascript-expression-evaluator/

Looks like JSXGraph has an expression parser http://jsxgraph.uni-bayreuth.de/~michael/jsxgui/Examples/internal/parser.html Could this be used to normalize the expression?

Can the JessieCode parser be used to normalize and compare expressions?

This example looks similar and it's broken although it's in the examples folder: https://github.com/jsxgraph/jsxgraph/blob/master/examples/ggb/worksheets/subtraktion_worksheet.ggb

With the above PR the reader can now handle "A + b" in the input. Now I'm trying to normalizes expressions and inputs so "A + b" and "b +...

I think that the length command should be similar to the distance command: ``` javascript case 'length': attr = this.boardProperties(gxtEl, element, attr); attr = this.colorProperties(element, attr); gxtEl = this.coordinates(gxtEl, element);...

Maybe this project can help. It wraps the path2d object and adds methods like [getPointAtLength](https://github.com/bedekelly/canvaspaths/blob/master/path.js#L93) https://blog.bede.io/html5-canvas-line-following/ https://github.com/bedekelly/canvaspaths https://github.com/bedekelly/metrojs/tree/master/js/canvaspaths

Less parentheses is less verbose to me and match the PostgreSQL structure. If you think the current form is OK, one form is better than two forms.

Do you think we should change the tstzrange parentheses before 1.0.0-rc1 to this? {DateTime1, DateTime2, {LowerBound, UpperBound}} If not, this issue can be closed.