Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
mtardy 6d57c3ff0b Apply advice from draft2.c to calc.leg 4 lat temu
.gitignore Update draft for interning same symbol 4 lat temu
Makefile Use -o option instead of output redirection 4 lat temu
README.md Add readme 4 lat temu
calc.leg Apply advice from draft2.c to calc.leg 4 lat temu
draft.c Apply advice from draft2.c to calc.leg 4 lat temu
draft2.c Apply advice from draft2.c to calc.leg 4 lat temu
test.sh Add arbitrary var identifiers 4 lat temu

README.md

Basic calculator

Requirements

Please install peg/leg manually or with Homebrew:

$ brew install peg

Build

$ make

Usage

$ echo "2+3" | ./calc

Test

$ ./test.sh