Commit Graph

77 Commits

Author SHA1 Message Date
b95b198923
rpn(1): typo 2024-02-07 19:12:31 -07:00
4e040e0021
rpn(1): added alternative representation for powers 2024-02-07 18:51:58 -07:00
d768a257a3
rpn(1): made EvaluationError struct contain exit code 2024-02-06 23:29:43 -07:00
228a0111c7
rpn(1): fixed Invalid error handling 2024-02-02 21:05:34 -07:00
4993c53080
rpn(1): re-fixed arg parsing 2024-02-02 19:17:00 -07:00
6f98fdd1d4
rpn(1): fixed expressions on one line 2024-02-02 19:13:53 -07:00
fb2a164507
rpn(1): rewrote parser for the second time 2024-02-02 15:35:36 -07:00
4cb5e8e2b0
rpn(1): better error handling 2024-02-02 14:16:49 -07:00
885f167afc
rpn(1): changes to error message 2024-02-02 13:04:57 -07:00
258881dbb2
rpn(1): minor change 2024-02-01 23:35:49 -07:00
b35f87bd27
rpn(1): code cleanup 2024-02-01 23:34:20 -07:00
e7ee75b03f
rpn(1): added From trait to CalcType 2024-02-01 23:32:37 -07:00
0d97f81f49
rpn(1): unicode subtraction, multiplication, division & code cleanup 2024-02-01 13:06:46 -07:00
b68f13acdc
rpn(1): added floor division 2024-02-01 12:38:12 -07:00
f7108245ea
rpn(1): more code cleanup 2024-02-01 10:54:28 -07:00
34b9519e03
rpn(1): code cleanup 2024-02-01 10:46:10 -07:00
5f8e90b592
rpn(1): added modulo 2024-02-01 01:26:48 -07:00
5debb9d954
rpn(1): highest possible precision 2024-02-01 01:18:13 -07:00
942e284f93
rpn(1): fixed exiting the program on EOF 2024-02-01 00:57:51 -07:00
4870f4679c
Makefile, rpn(1): add sysexits dependency 2024-02-01 00:41:27 -07:00
ab4d732aaf
rpn: initial working prototype 2024-02-01 00:24:38 -07:00
e246290bff
Merge branch 'djfix' 2024-01-31 13:56:04 -07:00
DTB
271510476c
dj(1): fix getopt optstring 2024-01-29 22:33:04 -07:00
601954a0f6
Merge branch 'dj-fixes' 2024-01-19 20:27:31 -07:00
04923fb1ad
Makefile, true(1), false(1): ported true and false back to C for simplicity and size 2024-01-15 16:53:34 -07:00
c444198efc
closed #18 2024-01-15 16:49:46 -07:00
28becbafbc
fop(1): updated copyright year and usage info 2024-01-15 16:33:51 -07:00
52def0a32d
Makefile, fop(1): added argument parsing and -d option 2024-01-15 16:30:00 -07:00
91e129b813
Makefile, getopt-rs: added getopt-rs library 2024-01-15 15:50:12 -07:00
DTB
ba7bd26fe6
dj(1): fix typos in comments 2024-01-15 13:34:30 -07:00
DTB
d25c8a64f2
dj(1): add copyright header to dj.c 2024-01-15 13:32:33 -07:00
DTB
612067890f
dj(1): interpret a '-' file name as standard input/output 2024-01-10 15:03:04 -07:00
DTB
88a66bcc01
dj(1): import from git.sr.ht/~trinity/src 2024-01-09 23:43:45 -07:00
0c2223d4fb
getopt-rs(3): added getopt library for Rust 2023-12-29 15:17:39 -07:00
f89a686d3c
fop(1): made checking argv better 2023-12-28 22:42:05 -07:00
b74bbd6c92
fop(1): finished implementing sysexits 2023-12-27 22:47:06 -07:00
3355cb3dc3
GNUmakefile, fop(1): added sysexits support 2023-12-27 22:42:50 -07:00
7eda8bb721
fop(1): working prototype 2023-12-27 15:44:19 -07:00
1dff7d7e18
Revert ".editorconfig: fixed utf8 issue"
This reverts commit d20a1da6f8.
2023-12-27 15:42:27 -07:00
d20a1da6f8
.editorconfig: fixed utf8 issue 2023-12-27 15:40:31 -07:00
94ba336ee4
GNUmakefile, intcmp(1), npc(1), scrut(1), str(1), strcmp(1), include/sysexits.h: added fallback header file for when systems don’t have sysexits.h(3) 2023-12-25 21:50:45 -07:00
74d5b65f78
Merge branch 'nosysexits' 2023-12-25 19:04:44 -07:00
3249a83861
Merge branch 'rmlibfileis' 2023-12-25 19:02:00 -07:00
a675386fe3
true(1): ported to Rust 2023-12-25 18:59:46 -07:00
DTB
de304b7ef7
remove libfileis(3) 2023-12-25 17:49:05 -07:00
DTB
324328d2cc
false(1): rewrite from C to Rust 2023-12-25 17:05:19 -07:00
DTB
8e330d8a63
strcmp(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:58:47 -07:00
DTB
d4ee9bb93b
str(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:58:24 -07:00
DTB
52d150b02b
scrut(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:58:08 -07:00
DTB
1bc574eafa
npc(1): without <sysexits.h> fall back to ANSI C 2023-12-25 15:57:58 -07:00