Commit Graph

  • 53e36cba0c Extract extractRepeatedInterval() helper Rene Saarsoo 2020-09-26 12:57:26 +0300
  • 8339163fe5 Rename intervalsToIntensityNumbers to emphasize type of return value Rene Saarsoo 2020-09-25 14:35:11 +0300
  • 212df4e748 Introduce Intensity & IntensityRange classes Rene Saarsoo 2020-09-25 14:28:52 +0300
  • c516b80aff Rename Duration.value -> Duration.seconds Rene Saarsoo 2020-09-25 13:51:01 +0300
  • 61ea726187 Rename Seconds to Duration Rene Saarsoo 2020-09-25 13:48:16 +0300
  • 564faf95e7 Fix some basic bugs in ZWO generation Rene Saarsoo 2020-09-25 12:21:25 +0300
  • 98f882f9b8 Integrate detectRepeats() with ZWO generation Rene Saarsoo 2020-09-25 12:18:37 +0300
  • be5b9a5146 Implement Seconds.add() Rene Saarsoo 2020-09-25 09:42:55 +0300
  • 6170796433 Rename types.js -> Seconds.ts Rene Saarsoo 2020-09-25 09:33:37 +0300
  • 46b2c1198f Gather and offset comments in repeated intervals Rene Saarsoo 2020-09-25 09:31:48 +0300
  • a30b020ac9 Improve lint:js and lint:ts setup Rene Saarsoo 2020-09-25 09:26:14 +0300
  • ba11117cc8 Additional tests Rene Saarsoo 2020-09-24 22:36:50 +0300
  • 083f5ea3a5 Add type:repeat Rene Saarsoo 2020-09-24 22:31:08 +0300
  • 9b47cfeb99 Add comments field to repeats Rene Saarsoo 2020-09-24 22:30:11 +0300
  • 5c462d545f Detect repeated intervals: initial implementation Rene Saarsoo 2020-09-24 16:57:08 +0300
  • ba88317fb9 Avoid the silly `i` abbreviation for interval Rene Saarsoo 2020-09-24 13:52:13 +0300
  • 6ec87b6e5c Simplify inside-description check Rene Saarsoo 2020-09-24 13:38:35 +0300
  • 01d49f45c3 Fix duration sum calculation Rene Saarsoo 2020-09-24 11:13:49 +0300
  • 80b49f0b4a Add start command for free-form execution Rene Saarsoo 2020-09-24 11:04:36 +0300
  • 54392306bf Correct parsing of intervals after description Rene Saarsoo 2020-09-24 11:04:02 +0300
  • c1eaae4b26 Discard empty lines at tokenizer level Rene Saarsoo 2020-09-22 22:17:14 +0300
  • eb4d0a3735 Extract tokenizeText() Rene Saarsoo 2020-09-22 22:03:54 +0300
  • 0a6bf2fba4 Split up main labelTokenizing routine Rene Saarsoo 2020-09-22 22:01:30 +0300
  • 955c74be42 Split LabelToken to: HeaderToken & IntervalToken Rene Saarsoo 2020-09-22 21:51:58 +0300
  • d998caf91d Throw error for unknown labels Rene Saarsoo 2020-09-22 21:34:21 +0300
  • 45467a434f Adopt use of Seconds data-type Rene Saarsoo 2020-09-22 17:36:12 +0300
  • 78a1bed1f2 Generation of textevents for ZWO files Rene Saarsoo 2020-09-22 12:16:37 +0300
  • cec481da4e Parsing of comments Rene Saarsoo 2020-09-22 12:06:20 +0300
  • fa8f0c70ad Add comments support to AST Rene Saarsoo 2020-09-21 22:19:52 +0300
  • 77bfbbd0a8 Enforce trailing commas Rene Saarsoo 2020-09-21 18:15:45 +0300
  • a390ec62ee Set max line length to 120 Rene Saarsoo 2020-09-21 18:11:27 +0300
  • 79453750e7 Use location data in error messages Rene Saarsoo 2020-09-21 18:03:07 +0300
  • 240691479f Add source location data to all tokens Rene Saarsoo 2020-09-21 17:51:58 +0300
  • a6c5596f02 Allow more whitespace Rene Saarsoo 2020-09-21 17:33:41 +0300
  • b18d7ff2a4 More interval tests Rene Saarsoo 2020-09-21 17:30:09 +0300
  • 4e860d2f3c Test required interval params Rene Saarsoo 2020-09-21 17:19:52 +0300
  • ca451fd2d6 Enforce strict format for interval durations Rene Saarsoo 2020-09-21 17:06:51 +0300
  • 4c23180621 Basic intervals parsing tests Rene Saarsoo 2020-09-21 16:51:41 +0300
  • 184666c6f7 Ignore empty lines at the start of workout file Rene Saarsoo 2020-09-21 16:42:46 +0300
  • d2d998b160 Workout header parsing tests Rene Saarsoo 2020-09-21 16:38:10 +0300
  • 8e813276ad Require workouts to have a name Rene Saarsoo 2020-09-21 16:24:56 +0300
  • 07bb22bcf2 Jest setup Rene Saarsoo 2020-09-21 16:02:32 +0300
  • e306691af5 Gather all parser-related files to parser/ dir Rene Saarsoo 2020-09-21 16:07:11 +0300
  • f0fcdb0949 Integrate auto-fixing of ESLint errors to before-commit hook Rene Saarsoo 2020-09-21 15:46:22 +0300
  • 4585884c0c Add ESLint and configure it for TypeScript Rene Saarsoo 2020-09-21 15:43:35 +0300
  • 0f2d6c592c Add separate --stats option Rene Saarsoo 2020-09-20 18:18:41 +0300
  • 5c34c7c167 Add Zwift XML generation Rene Saarsoo 2020-09-20 18:05:37 +0300
  • cb8cb10a51 Add XML lib Rene Saarsoo 2020-09-20 18:05:28 +0300
  • 6959537d9e Improve formatting of main index.ts file Rene Saarsoo 2020-09-20 15:58:35 +0300
  • 2871dae0ff Proper TSS calculation Rene Saarsoo 2020-09-20 15:49:46 +0300
  • 8daecba1ca Extract totalDuration() Rene Saarsoo 2020-09-20 15:34:05 +0300
  • 97d17b326c Extract average() Rene Saarsoo 2020-09-20 15:25:28 +0300
  • 5735f07a25 Extract intervalToIntensities Rene Saarsoo 2020-09-20 15:23:31 +0300
  • 046bce3f26 Average and normalized intensities Rene Saarsoo 2020-09-20 15:16:19 +0300
  • fed30e86b7 Add Ramda library Rene Saarsoo 2020-09-20 14:25:00 +0300
  • 09e38cd615 Replace power% field with intensity fraction Rene Saarsoo 2020-09-20 13:56:55 +0300
  • e6a7cc6e6f My take on TSS calculation (apparently not correct) Rene Saarsoo 2020-09-20 13:50:21 +0300
  • 8203e143e8 Fixup lint:ts command Rene Saarsoo 2020-09-18 15:26:14 +0300
  • a35b0018f0 Rename tokenizeFile -> tokenize Rene Saarsoo 2020-09-18 15:24:13 +0300
  • cba9954621 Derive partial AST types inside parser Rene Saarsoo 2020-09-18 15:23:07 +0300
  • 6563f4fd5a Trim extra whitespace from description Rene Saarsoo 2020-09-18 15:18:27 +0300
  • 04467b944f Parsing of interval parameters Rene Saarsoo 2020-09-18 15:15:35 +0300
  • 2a362e6362 Parsing of workout header Rene Saarsoo 2020-09-18 12:26:58 +0300
  • 220ca26c97 Declare general workout AST Rene Saarsoo 2020-09-18 11:08:48 +0300
  • ca38f96314 Refactor to simpler token types Rene Saarsoo 2020-09-18 10:49:31 +0300
  • de9d9feeeb Merge types inside tokenizer file Rene Saarsoo 2020-09-18 10:16:00 +0300
  • 87f6bc34c9 Rename parser to tokenizer Rene Saarsoo 2020-09-18 10:03:16 +0300
  • 62f0bfbf25 Proper parsing of full description Rene Saarsoo 2020-09-17 23:59:47 +0300
  • a588432516 Split logic to multiple files Rene Saarsoo 2020-09-17 23:45:51 +0300
  • 29f12552ec Parsing of parameters Rene Saarsoo 2020-09-17 23:40:40 +0300
  • 1779369e36 Ignore yarn error log file Rene Saarsoo 2020-09-17 22:53:01 +0300
  • 572008c8d5 Configure husky and lint-staged Rene Saarsoo 2020-09-17 22:52:03 +0300
  • 08e8f781d6 Add prettier Rene Saarsoo 2020-09-17 22:50:12 +0300
  • ae31567cbf Initial commit Rene Saarsoo 2020-09-17 22:47:18 +0300