a. fox c009e662bd | ||
---|---|---|
systems | ||
Makefile | ||
README.md | ||
build.lisp | ||
logic.lisp | ||
timecalc.asd | ||
timecalc.lisp | ||
web.lisp |
README.md
timecalc
a. fox
Usage
This tool offers two different methods to utlize it, you can run it from the command line with
options --from
and --to
to get an answer printed to your terminal.
or, run with the --web
option passed and it will spin up a webserver (http://localhost:9001
by default)
and use the web interface to select the conversion targets and see the result.
Notes on web server
all css is handwritten and embedded in the page, however if there is a "custom.css" file alongside the
timecalc
binary, it will be included in the page that gets rendered
System Definition Explanation
key
: the internal key that is used for that system. used for command line arguments --to
and --from
name
: the name of the system. this is mostly used for output, but these can also be used for --to
and --from
gtsYear
: one year of the target system, converted into a GTS year (seconds)
see systems/example.system
for an example
Building
- Install roswell
$ mkdir ~/common-lisp && git clone https://dev.focks.website/compufox/timecalc ~/common-lisp/timecalc
$ cd ~/common-lisp/timecalc && make
- Profit
License
GPLv3