News for hackers. Stuff that matters.
Re:Show HN: Traindown – A language to help athletes express ... by yufengg on Saturday January 23, 2021 @08:59PM (#25888238)
Very neat -- I was playing with the non-weight stuff in the /guide/ section, and putting it into the playground to get a better sense of it, and noticed this slight parser bug:

I pasted this example into the playground:

  Warmup drills: 3s

  60m sprints: 7.12 7.03 7.01
    # Unit: seconds

  Jog: 1600
    # Unit: meters
And it outputted that I had an activity called "m sprints". Looks like somehow the "60" is getting dropped.
Re:Show HN: Traindown – A language to help athletes express ... by tylerscott on Saturday January 23, 2021 @10:28PM (#25888867)
Just saw my bonehead mistake. This example was done before I had actually implemented the version that allowed for numeric movement names.

In order for this to parse correctly, there needs to be an ' in front of "60m" like "'60m".

Thanks for finding this. I have updated that example on the site.

Re:Show HN: Traindown – A language to help athletes express ... by tylerscott on Saturday January 23, 2021 @10:13PM (#25888766)
Thanks for finding this. I will investigate this and make sure it is fixed!