2026-05-04 22:14:12 +02:00
2026-04-28 08:08:37 +02:00
2026-05-02 22:30:31 +02:00
2026-04-28 09:22:55 +02:00
2026-04-17 16:01:37 +02:00
2026-04-17 16:05:39 +02:00

42_EXT_05_computorv1

ressources

install

this project uses submodules (maybe recursively), so either :

  • git clone --recurse-submodules <repo-url>
  • or, after cloning : git submodule update --init --recursive

steps

  1. lexer -> tokens types :
    • TOKEN_VARIABLE // x, y, etc.
    • TOKEN_NUMBER_INT // int
    • TOKEN_NUMBER_DOUBLE // double
    • TOKEN_POWER // ^ or **
    • TOKEN_SIGN_PLUS // +
    • TOKEN_SIGN_MINUS // -
    • TOKEN_FACTOR_MULT // *
    • TOKEN_FACTOR_DIV // / or :
    • TOKEN_EQUAL // =
    • END // null
  2. parser -> terms :
    • POSITION // left or righ from =
    • SIGN // + or -
    • COEFFICIENT // double
    • EXPONENT // double
  3. reduce -> polynom :
    • 0
    • 1
    • 2
    • 3
    • ...
  4. print reduced form
  5. find degree
  6. print degree
  7. solve
  8. print solution
Description
No description provided
Readme 3.2 MiB
Languages
C 59.2%
Shell 37.5%
Makefile 3.3%