Rene Saarsoo
|
ac126f36da
|
Implement FreeRide intervals
|
2020-09-30 23:26:01 +03:00 |
Rene Saarsoo
|
eef96cce92
|
Switch from # to @ as comment-start character
|
2020-09-30 22:30:19 +03:00 |
Rene Saarsoo
|
49638c6c71
|
Regression tests for stats and ZWO creation
|
2020-09-30 22:21:40 +03:00 |
Rene Saarsoo
|
819629094e
|
Implement zone-distrubution stats
|
2020-09-30 20:50:08 +03:00 |
Rene Saarsoo
|
15773cead0
|
Initial README with todo-list
|
2020-09-30 20:15:21 +03:00 |
Rene Saarsoo
|
0511343f09
|
Use argparse for parsing command-line options
|
2020-09-30 15:03:33 +03:00 |
Rene Saarsoo
|
53e36cba0c
|
Extract extractRepeatedInterval() helper
|
2020-09-26 12:57:26 +03:00 |
Rene Saarsoo
|
8339163fe5
|
Rename intervalsToIntensityNumbers to emphasize type of return value
|
2020-09-25 14:35:11 +03:00 |
Rene Saarsoo
|
212df4e748
|
Introduce Intensity & IntensityRange classes
|
2020-09-25 14:34:12 +03:00 |
Rene Saarsoo
|
c516b80aff
|
Rename Duration.value -> Duration.seconds
|
2020-09-25 13:51:01 +03:00 |
Rene Saarsoo
|
61ea726187
|
Rename Seconds to Duration
|
2020-09-25 13:50:03 +03:00 |
Rene Saarsoo
|
564faf95e7
|
Fix some basic bugs in ZWO generation
|
2020-09-25 12:21:25 +03:00 |
Rene Saarsoo
|
98f882f9b8
|
Integrate detectRepeats() with ZWO generation
|
2020-09-25 12:18:37 +03:00 |
Rene Saarsoo
|
be5b9a5146
|
Implement Seconds.add()
|
2020-09-25 09:42:55 +03:00 |
Rene Saarsoo
|
6170796433
|
Rename types.js -> Seconds.ts
|
2020-09-25 09:33:37 +03:00 |
Rene Saarsoo
|
46b2c1198f
|
Gather and offset comments in repeated intervals
|
2020-09-25 09:31:48 +03:00 |
Rene Saarsoo
|
a30b020ac9
|
Improve lint:js and lint:ts setup
- Use typescript to report unused variables
- Properly pass filenames-glob param to eslint
|
2020-09-25 09:28:07 +03:00 |
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 |