Commit Graph

166 Commits

Author SHA1 Message Date
Torkel Ödegaard
ba6a6292f9 trying to get angular mocks / testing to work 2014-02-08 16:38:17 +01:00
Torkel Ödegaard
8e2008f821 Fixes #69, lexer correctly tokenizes number-number segments, numericLiterals are only considered literal token if it is folled by a punctuator. 2014-02-07 15:37:03 +01:00
Torkel Ödegaard
0a8b9bad4f Fixes #67, decimal inputs for function parameters (like scale) 2014-02-07 14:07:24 +01:00
Torkel Ödegaard
89224401a9 Fixes #38, Lexer & parser now handles metrics segments that begin with numbers or only have numbers 2014-01-29 11:00:25 +01:00
Torkel Ödegaard
a6df1a9320 Partial fix for #10 , the lexer & parser can now handle curly brace, but target editor needs to be updated to support selecting multiple segment nodes 2014-01-21 12:43:32 +01:00
Torkel Ödegaard
ad4c0ab5b6 added more function definitions, added small hack to make randomWalk and countLine that do not take any series work with the parser and target editor (the whole target editor and parsing & back to target rendering needs to be rewritten to handle functions that take multiple series) 2014-01-20 16:48:02 +01:00
Torkel Ödegaard
c13ac8a36f fix: lexer enhancement to support asterix and dash in metric segment 2014-01-14 20:57:07 +01:00
Torkel Ödegaard
be330b6a0c refactoring and more unit tests for graphite functions 2014-01-05 10:17:53 +01:00
Torkel Ödegaard
1e7ced2ac6 fix for template targets 2014-01-01 19:42:00 +01:00
Torkel Ödegaard
cef4349b2a added lexer/parser support for templated metric expressions, karma test runner is working 2014-01-01 18:40:25 +01:00
Torkel Ödegaard
9480077f02 switched to karma for running tests 2014-01-01 15:01:01 +01:00
Torkel Ödegaard
2acfa83b76 fixed sorting of functions, and lexing parsing fix for unclosed string params 2013-12-28 11:40:58 +01:00
Torkel Ödegaard
e19d3a531c parser and lexer is working ok 2013-12-24 11:13:50 +01:00
Torkel Ödegaard
2ded42e9fe improved parser code 2013-12-24 09:32:51 +01:00
Torkel Ödegaard
35ae9e3379 parser working horrible code 2013-12-23 22:29:52 +01:00
Torkel Ödegaard
8f77a82170 began work on parser, lexer 2013-12-23 15:05:58 +01:00