Skip to content

About

Do arithmetic with time. Parses input using a compiler and evaluates expressions using Temporal

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Time Calculator ⏳

Little project that showcases the new robust date and time API called Temporal. Handles basic arithmetic operations as shown in the example, and uses the shunting yard algorithm to parse the infix notation into RPN, which is then fed into a small evaluator that leverages Temporal for all the math work.

Project Setup 🔧

Uses pnpm, so usual procedures follow:

pnpm i
pnpm run dev

And to build for production

pnpm run build

About

Do arithmetic with time. Parses input using a compiler and evaluates expressions using Temporal

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages