Rene Saarsoo
|
ba11117cc8
|
Additional tests
|
2020-09-24 22:36:50 +03:00 |
Rene Saarsoo
|
083f5ea3a5
|
Add type:repeat
|
2020-09-24 22:31:08 +03:00 |
Rene Saarsoo
|
9b47cfeb99
|
Add comments field to repeats
|
2020-09-24 22:30:11 +03:00 |
Rene Saarsoo
|
5c462d545f
|
Detect repeated intervals: initial implementation
|
2020-09-24 16:57:08 +03:00 |
Rene Saarsoo
|
ba88317fb9
|
Avoid the silly `i` abbreviation for interval
|
2020-09-24 13:52:13 +03:00 |
Rene Saarsoo
|
6ec87b6e5c
|
Simplify inside-description check
|
2020-09-24 13:38:35 +03:00 |
Rene Saarsoo
|
01d49f45c3
|
Fix duration sum calculation
|
2020-09-24 11:13:49 +03:00 |
Rene Saarsoo
|
80b49f0b4a
|
Add start command for free-form execution
|
2020-09-24 11:04:36 +03:00 |
Rene Saarsoo
|
54392306bf
|
Correct parsing of intervals after description
|
2020-09-24 11:04:02 +03:00 |
Rene Saarsoo
|
c1eaae4b26
|
Discard empty lines at tokenizer level
|
2020-09-22 22:17:14 +03:00 |
Rene Saarsoo
|
eb4d0a3735
|
Extract tokenizeText()
|
2020-09-22 22:03:54 +03:00 |
Rene Saarsoo
|
0a6bf2fba4
|
Split up main labelTokenizing routine
|
2020-09-22 22:01:30 +03:00 |
Rene Saarsoo
|
955c74be42
|
Split LabelToken to: HeaderToken & IntervalToken
|
2020-09-22 21:53:07 +03:00 |
Rene Saarsoo
|
d998caf91d
|
Throw error for unknown labels
|
2020-09-22 21:34:21 +03:00 |
Rene Saarsoo
|
45467a434f
|
Adopt use of Seconds data-type
|
2020-09-22 17:36:12 +03:00 |
Rene Saarsoo
|
78a1bed1f2
|
Generation of textevents for ZWO files
|
2020-09-22 12:16:37 +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
|
77bfbbd0a8
|
Enforce trailing commas
|
2020-09-21 18:15:45 +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
|
240691479f
|
Add source location data to all tokens
|
2020-09-21 17:51:58 +03:00 |
Rene Saarsoo
|
a6c5596f02
|
Allow more whitespace
|
2020-09-21 17:33:41 +03:00 |
Rene Saarsoo
|
b18d7ff2a4
|
More interval tests
|
2020-09-21 17:30:09 +03:00 |
Rene Saarsoo
|
4e860d2f3c
|
Test required interval params
|
2020-09-21 17:19:52 +03:00 |
Rene Saarsoo
|
ca451fd2d6
|
Enforce strict format for interval durations
|
2020-09-21 17:06:51 +03:00 |
Rene Saarsoo
|
4c23180621
|
Basic intervals parsing tests
|
2020-09-21 16:51:41 +03:00 |
Rene Saarsoo
|
184666c6f7
|
Ignore empty lines at the start of workout file
|
2020-09-21 16:43:26 +03:00 |
Rene Saarsoo
|
d2d998b160
|
Workout header parsing tests
|
2020-09-21 16:38:10 +03:00 |
Rene Saarsoo
|
8e813276ad
|
Require workouts to have a name
|
2020-09-21 16:26:06 +03:00 |
Rene Saarsoo
|
07bb22bcf2
|
Jest setup
|
2020-09-21 16:17:30 +03:00 |
Rene Saarsoo
|
e306691af5
|
Gather all parser-related files to parser/ dir
|
2020-09-21 16:17:30 +03:00 |
Rene Saarsoo
|
f0fcdb0949
|
Integrate auto-fixing of ESLint errors to before-commit hook
|
2020-09-21 15:46:22 +03:00 |
Rene Saarsoo
|
4585884c0c
|
Add ESLint and configure it for TypeScript
|
2020-09-21 15:43:35 +03:00 |
Rene Saarsoo
|
0f2d6c592c
|
Add separate --stats option
|
2020-09-20 18:18:41 +03:00 |
Rene Saarsoo
|
5c34c7c167
|
Add Zwift XML generation
|
2020-09-20 18:05:57 +03:00 |
Rene Saarsoo
|
cb8cb10a51
|
Add XML lib
|
2020-09-20 18:05:28 +03:00 |
Rene Saarsoo
|
6959537d9e
|
Improve formatting of main index.ts file
|
2020-09-20 15:58:35 +03:00 |
Rene Saarsoo
|
2871dae0ff
|
Proper TSS calculation
|
2020-09-20 15:49:46 +03:00 |
Rene Saarsoo
|
8daecba1ca
|
Extract totalDuration()
|
2020-09-20 15:34:55 +03:00 |
Rene Saarsoo
|
97d17b326c
|
Extract average()
|
2020-09-20 15:26:17 +03:00 |
Rene Saarsoo
|
5735f07a25
|
Extract intervalToIntensities
|
2020-09-20 15:23:31 +03:00 |
Rene Saarsoo
|
046bce3f26
|
Average and normalized intensities
|
2020-09-20 15:16:19 +03:00 |
Rene Saarsoo
|
fed30e86b7
|
Add Ramda library
|
2020-09-20 14:30:13 +03:00 |
Rene Saarsoo
|
09e38cd615
|
Replace power% field with intensity fraction
|
2020-09-20 13:56:55 +03:00 |
Rene Saarsoo
|
e6a7cc6e6f
|
My take on TSS calculation (apparently not correct)
|
2020-09-20 13:50:21 +03:00 |
Rene Saarsoo
|
8203e143e8
|
Fixup lint:ts command
|
2020-09-18 15:26:14 +03:00 |
Rene Saarsoo
|
a35b0018f0
|
Rename tokenizeFile -> tokenize
|
2020-09-18 15:25:48 +03:00 |
Rene Saarsoo
|
cba9954621
|
Derive partial AST types inside parser
|
2020-09-18 15:25:48 +03:00 |
Rene Saarsoo
|
6563f4fd5a
|
Trim extra whitespace from description
|
2020-09-18 15:18:27 +03:00 |