GithubHelp home page GithubHelp logo

freakout42 / macrocalc Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 770 KB

Lotus 1-2-3 compatible spreadsheet for terminals with physics unit engine

License: BSD 2-Clause "Simplified" License

Makefile 2.39% Shell 0.80% C 76.42% R 9.36% Awk 0.01% M4 0.67% MAXScript 0.03% Rebol 0.02% Assembly 0.07% Lex 1.09% Yacc 1.56% Monkey C 3.94% Perl 0.17% Roff 3.39% Dockerfile 0.07%
spreadsheet terminal 1-2-3 123 lotus lotus-1-2-3 dbase rdb xbase physics

macrocalc's People

Contributors

daveloyall avatar freakout42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

daveloyall

macrocalc's Issues

`ident` used during build?

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.

Error: expected expression before »:« token

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!

Precompiled binary needs libncurses.so.5 (current: libncurses.so.6)

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?

eleminate 3 shift/reduce and 2 reduce/reduce conflicts in formula parser

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.