Commit Graph

21 Commits

Author SHA1 Message Date
Rene Saarsoo 90e1664ed6 Support negative comment offsets 2020-11-21 21:22:29 +02:00
Rene Saarsoo 2f7b11d4ac Add source location data to comments 2020-11-21 21:01:40 +02:00
Rene Saarsoo 30a5e3b42b Parsing of tags 2020-10-06 16:39:28 +03:00
Rene Saarsoo 77661ca6d7 Add tags field to Workout interface 2020-10-06 16:29:53 +03:00
Rene Saarsoo 265ae5db1b Allow any interval type to be without power target 2020-10-06 13:19:35 +03:00
Rene Saarsoo 0d6f61913c Allow untitled workouts 2020-10-04 13:20:04 +03:00
Rene Saarsoo 53344b22ce Create interface to govern all Intensity classes 2020-10-02 11:59:54 +03:00
Rene Saarsoo ac126f36da Implement FreeRide intervals 2020-09-30 23:26:01 +03:00
Rene Saarsoo 212df4e748 Introduce Intensity & IntensityRange classes 2020-09-25 14:34:12 +03:00
Rene Saarsoo 61ea726187 Rename Seconds to Duration 2020-09-25 13:50:03 +03:00
Rene Saarsoo 6170796433 Rename types.js -> Seconds.ts 2020-09-25 09:33:37 +03:00
Rene Saarsoo c1eaae4b26 Discard empty lines at tokenizer level 2020-09-22 22:17:14 +03:00
Rene Saarsoo 955c74be42 Split LabelToken to: HeaderToken & IntervalToken 2020-09-22 21:53:07 +03:00
Rene Saarsoo 45467a434f Adopt use of Seconds data-type 2020-09-22 17:36:12 +03:00
Rene Saarsoo cec481da4e Parsing of comments 2020-09-22 12:06:20 +03:00
Rene Saarsoo fa8f0c70ad Add comments support to AST 2020-09-21 22:19:52 +03:00
Rene Saarsoo a390ec62ee Set max line length to 120 2020-09-21 18:11:27 +03:00
Rene Saarsoo 79453750e7 Use location data in error messages 2020-09-21 18:03:07 +03:00
Rene Saarsoo 184666c6f7 Ignore empty lines at the start of workout file 2020-09-21 16:43:26 +03:00
Rene Saarsoo 8e813276ad Require workouts to have a name 2020-09-21 16:26:06 +03:00
Rene Saarsoo e306691af5 Gather all parser-related files to parser/ dir 2020-09-21 16:17:30 +03:00