6a2a501e48
fix printing of fractionals (not scientific anymore), added -p flag
2024-01-26 08:19:01 +01:00
ac9d08d6fc
reorganized Eval() return errors and call EvalItem() on each item
2023-12-08 18:35:56 +01:00
T.v.Dein
846b3e63fc
don't show shortcuts in help (clutters it) ( #27 )
...
* don't show shortcuts in help (clutters it)
* bump version
---------
Co-authored-by: Thomas von Dein <tom@vondein.org >
2023-12-07 13:47:32 +01:00
T.v.Dein
5557ad5f99
use generics for contains() and add generic exists() ( #29 )
...
Co-authored-by: Thomas von Dein <tom@vondein.org >
2023-12-07 13:47:04 +01:00
ec4d86f727
added a couple of shortcuts
2023-12-05 20:01:32 +01:00
T.v.Dein
59241932e0
Feature/add converters and bitwise ops ( #20 )
...
* added:
- converters
- bitwise operators
- hex input and output support
2023-11-13 15:51:07 +01:00
T.v.Dein
2f56761bf1
Feature/commands ( #18 )
...
* re-organized command structure
* added 'dup' command
2023-11-12 20:29:10 +01:00
40c4cf0e45
added no versions of batch debug and showstack toggles
2023-11-10 15:38:05 +01:00
bacbfcc517
added debug output to Backup()
2023-11-09 18:47:31 +01:00
a6f8a0fdbe
renamed luafunc()
2023-11-09 18:34:29 +01:00
T.v.Dein
a964a99f3d
Fix/lua no funcs known ( #15 )
...
* lua fixes:
- fix lua function calling, didn't work in the last
releases (regression)
- add lua funcs which don't modify the stack (for converters etc)
- added better lua examples
2023-11-08 19:03:37 +01:00
T.v.Dein
31a0ddd547
add variable support, implements #10 ( #14 )
2023-11-08 14:47:15 +01:00
T.v.Dein
fa5f8dcb3b
suppress intermediate results unless -i, addresses #11 , fix man ( #13 )
2023-11-08 14:43:34 +01:00
T.v.Dein
2ce8cc7a7e
add comments support ( #7 )
2023-11-07 14:18:46 +01:00
T.v.Dein
bb49cb7626
Feature/add show stack ( #5 )
...
* add -s flag and show command to display the last 5 entries
2023-11-06 20:12:07 +01:00
T.v.Dein
dac5c0967a
added swap stack command, bump version ( #2 )
2023-11-06 16:11:12 +01:00
T.v.Dein
b5430403fd
Internal/add gh actions and tests ( #3 )
...
* add gh actions and templates
* add show-versions in Makefile
* force go 1.20
* added test facilities
2023-11-06 16:09:56 +01:00
2b79f3f9ca
updated docs
2023-11-05 17:39:15 +01:00
5adc3b30ab
bump version
2023-11-05 13:01:50 +01:00
56a4000b67
fixed debug output
2023-11-05 13:00:26 +01:00
c4c60651d1
moved all math functions and operators to funcalls
...
So now if you want to add a new operator or math function all you have
to do is to add it to func.go. Conpletion will be generated from it.
2023-11-05 12:55:59 +01:00
a0c0a27a35
add Funcalls to Calc
2023-11-04 19:41:11 +01:00
f86c4c9951
added manpage and manpage display commands
2023-11-02 10:11:39 +01:00
89f3669512
re-organized completion and mode switching
2023-11-02 07:16:05 +01:00
093591314a
deprecate perl version, make go version the new one (2.0.0)
2023-11-01 17:55:22 +01:00