summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorLuke Bubar <43391582+lukerb52@users.noreply.github.com>2025-02-28 14:56:00 +0000
committerGitHub <noreply@github.com>2025-02-28 14:56:00 +0000
commite83e5ecef01ca14fe7f1ebf34962b56805f39252 (patch)
tree7b7b2013d0db6029ec179917d604b91fa7aad2a3 /.local
parent407e9d8a84aa2aff6cfd21a3be3042ac326e9b08 (diff)
downloadeibhear-e83e5ecef01ca14fe7f1ebf34962b56805f39252.tar.gz
eibhear-e83e5ecef01ca14fe7f1ebf34962b56805f39252.tar.zst
eibhear-e83e5ecef01ca14fe7f1ebf34962b56805f39252.zip
Update compiler to include instruction for the Rink calculator (#1452)
* Update compiler to include instruction for the Rink calculator Added a compiler option for rink calculator files. Rink is a unit-conversion calculator written in Rust. * Update compiler to include COBOL instructions
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/compiler2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index 5713590..214c98c 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -20,6 +20,7 @@ case "${ext}" in
[0-9]) preconv "${file}" | refer -PS -e | groff -mandoc -T pdf > "${base}.pdf" ;;
mom|ms) preconv "${file}" | refer -PS -e | groff -T pdf -m"${ext}" > "${base}.pdf" ;;
c) cc "${file}" -o "${base}" && "./${base}" ;;
+ cob) cobc -x -o "$base" "$file" && "$base" ;;
cpp) g++ "${file}" -o "${base}" && "./${base}" ;;
cs) mcs "${file}" && mono "${base}.exe" ;;
go) go run "${file}" ;;
@@ -33,6 +34,7 @@ case "${ext}" in
pandoc -t ms --highlight-style="kate" -s -o "${base}.pdf" "${file}" ;;
org) emacs "${file}" --batch -u "${USER}" -f org-latex-export-to-pdf ;;
py) python "${file}" ;;
+ rink) rink -f "${file}" ;;
[rR]md) Rscript -e "rmarkdown::render('${file}', quiet=TRUE)" ;;
rs) cargo build ;;
sass) sassc -a "${file}" "${base}.css" ;;