freakout42 / macrocalc Goto Github PK
View Code? Open in Web Editor NEWLotus 1-2-3 compatible spreadsheet for terminals with physics unit engine
License: BSD 2-Clause "Simplified" License
Lotus 1-2-3 compatible spreadsheet for terminals with physics unit engine
License: BSD 2-Clause "Simplified" License
define SQL-queries of arbitrary ODBC-databases - bring the results into rows and cells
implement a flexible way to build queries and enable updates on changed data
make mc a tiny SQL*Forms
Hello.
mc/Makefile.in
references ident
? I have never heard of that command or binary.. Does it come from the rcs package?
I'm preparing a list of dependencies to install on Debian to build this but I'm not sure if I should include rcs or not.
When trying to compile macrocalc after removing the "-Werror" option in the Makefile, I get the following errors (as far as I can see you speak German):
main.c: In Funktion »execute«:
main.c:618:1: Warnung: Typ von »f« ist auf »int« voreingestellt [-Wimplicit-int]
618 | execute(c, f, n)
| ^~~~~~~
main.c:618:1: Warnung: Typ von »n« ist auf »int« voreingestellt [-Wimplicit-int]
main.c: In Funktion »getkey«:
main.c:1389:35: Fehler: expected expression before »:« token
1389 | case KEY_BACKSPACE: /* backspace */
| ^
main.c:1391:30: Fehler: expected expression before »:« token
1391 | case KEY_NEXT: /* tabulator */
| ^
main.c:1393:28: Fehler: expected expression before »:« token
1393 | case KEY_UP: /* up arrow */
| ^
main.c:1395:30: Fehler: expected expression before »:« token
1395 | case KEY_DOWN: /* down arrow */
| ^
main.c:1397:31: Fehler: expected expression before »:« token
1397 | case KEY_RIGHT: /* right arrow */
| ^
main.c:1399:30: Fehler: expected expression before »:« token
1399 | case KEY_LEFT: /* left arrow */
| ^
main.c:1401:31: Fehler: expected expression before »:« token
1401 | case KEY_PPAGE: /* PGUP key */
| ^
main.c:1403:31: Fehler: expected expression before »:« token
1403 | case KEY_NPAGE: /* PGDN key */
| ^
main.c:1405:28: Fehler: expected expression before »:« token
1405 | case KEY_LL: /* END key */
| ^
main.c:1407:29: Fehler: expected expression before »:« token
1407 | case KEY_END: /* END key */
| ^
main.c:1410:30: Fehler: expected expression before »:« token
1410 | case KEY_HOME: /* home key */
| ^
main.c:1412:28: Fehler: expected expression before »:« token
1412 | case KEY_IC: /* insert/overstrike toggle */
| ^
main.c:1414:28: Fehler: expected expression before »:« token
1414 | case KEY_DC: /* delete key */
| ^
main.c:1416:30: Fehler: expected expression before »:« token
1416 | case KEY_F(1): /* F1 key, help */
| ^
main.c:1655:1: Fehler: expected declaration or statement at end of input
1655 | }
| ^
main.c:1655:1: Fehler: expected declaration or statement at end of input
main.c:1656: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
What's wrong?
Thank you!
I am pleased to see that there is a "new" spreadsheet program for the cli for Linux. Thank you for sharing!
However, when I run the binary on an up-to-date Arch Linux, I get:
./mc
./mc: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
I tried to link libncurses.so.5 to libncurses.so.6 in /usr/lib with no success. What's wrong?
curses colors for individual cells like attributes
enable complex numbers and calculations i-part like unit in cell right
need a yacc-expert for this
[axel@bongo src]$ bison -Wcounterexamples -d --yacc mcpary.y
mcpary.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr]
mcpary.y: warning: 2 reduce/reduce conflicts [-Wconflicts-rr]
mcpary.y: warning: shift/reduce conflict on token UNITS [-Wcounterexamples]
Example: CON . UNITS y UNITE
Shift derivation
o
`-> 2: e
`-> 36: CON u
`-> 47: . UNITS y UNITE
Reduce derivation
o
`-> 3: e u
`-> 35: CON . `-> 47: UNITS y UNITE
mcpary.y: warning: reduce/reduce conflict on token $end [-Wcounterexamples]
Example: RANGEB .
First reduce derivation
o
`-> 10: RANGEB .
Second reduce derivation
o
`-> 2: e
`-> 37: c
`-> 46: r
`-> 44: RANGEB .
mcpary.y: warning: reduce/reduce conflict on token $end [-Wcounterexamples]
Example: l .
First reduce derivation
o
`-> 1: l .
Second reduce derivation
o
`-> 2: e
`-> 33: l .
mcpary.y: warning: shift/reduce conflict on token STR [-Wcounterexamples]
Example: s s . STR
Shift derivation
s
`-> 39: s s
`-> 39: s s
`-> 40: . STR
Reduce derivation
s
`-> 39: s s
`-> 39: s s . `-> 40: STR
mcpary.y: warning: shift/reduce conflict on token STRCAT [-Wcounterexamples]
Example: s s . STRCAT c
Shift derivation
s
`-> 39: s s
`-> 39: s s
`-> 41: . STRCAT c
Reduce derivation
s
`-> 39: s s
`-> 39: s s . `-> 41: STRCAT c
toggle absolute cell references in formulas with relative references by pressing F4 (or $).
Makes [-1,-3] from B4 for example.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.