Crates.io | dcim |
lib.rs | dcim |
version | 2.3.5 |
source | src |
created_at | 2023-02-21 04:48:01.341946 |
updated_at | 2023-12-24 15:41:54.427574 |
description | dc improved - Expanded rewrite of a classic RPN calculator / esoteric programming language |
homepage | |
repository | https://github.com/43615/dcim |
max_upload_size | |
id | 790376 |
size | 111,647 |
╭─────────────────────────╮
│ ╷ • │
│ │ │
│ ╭─┤ ╭─╴ • ╶┤ ┌─┬─╮ │
│ │ │ │ │ │ │ │ │
│ ╰─┘ ╰─╴ • ╶┴╴ ╵ ╵ │
╰─────────────────────────╯
This readme only mentions changes compared to GNU dc. If you're unfamiliar with its core principles, read its man page or the Wikipedia article.
Complete documentation in the wiki
(Assuming complete and up-to-date Rust environment)
cargo install dcim
Platform-specific quirks:
Download here. Hosted on my NAS, not guaranteed to be available or up-to-date. I strongly recommend building it yourself if you can spare the trouble.
gmp-mpfr-sys
requires a speical environment to link to C libraries, follow the instructions here. After building it in MinGW once, the artifacts should remain and new dc:im versions can be built natively until I update it to a new version of gmp-mpfr-sys
.
MAKEFLAGS="-i" cargo install dcim
The current version of GNU MPFR fails one inconsequential test (no idea why), use -i
to pretend it doesn't happen.
If something else goes wrong, use clang:
export RUSTFLAGS=" -C link-arg=$(clang -print-libgcc-file-name)"
W
). The parameter K
only applies to output.dcim -h
to learn more.!
.Crate documentation (autogenerated)
State
afterwards.