parser: use parsec

rewrite the parser using parsec and clean up calc/fct_run
add input parsing for integers in hexadecimal, octal, and binary
clean up unused code

remove the Read instance for Symbol (unused with the new parser)
remove conversion functions