base-packages.lisp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. (defpackage #:truth-table/base
  2. (:use #:common-lisp)
  3. (:export
  4. ;; parse.lsip
  5. #:whitespace-p
  6. #:paren-p
  7. #:delim-p
  8. #:symbol-char-p
  9. #:proposition-parse-error
  10. #:parse-error-position
  11. #:parse-error-proposition
  12. #:parse-error-message
  13. #:*operator-symbol-table*
  14. #:*operand-symbol-table*
  15. #:*operator-descriptions*
  16. #:operator-symbol
  17. #:operator-precedence
  18. #:interpret-operand
  19. #:next-token
  20. #:dotokens
  21. #:interpret-token
  22. #:parse-proposition-string
  23. ;; eval.lisp
  24. #:proposition-eval-error
  25. #:operator-argument-count
  26. #:logical-xor
  27. #:logical-and
  28. #:logical-or
  29. #:logical-implies
  30. #:eval-proposition
  31. ;; table.lisp
  32. #:discover-variables
  33. #:permute-variables
  34. #:create-truth-table
  35. #:extract-truth-table-expressions
  36. #:extract-truth-table-values
  37. #:combine-tables
  38. #:create-combined-truth-table
  39. ;; typeset.lisp
  40. #:table-format-error
  41. #:*operator-ascii-lookup-alist*
  42. #:*operator-unicode-lookup-alist*
  43. #:*operator-latex-lookup-alist*
  44. #:latex-var-name-transform
  45. #:flatten-proposition
  46. #:typeset-proposition
  47. #:convert-truth-table-to-latex
  48. #:convert-truth-table-to-html
  49. #:*table-border-ascii-alist*
  50. #:*table-border-unicode-alist*
  51. #:with-draw-table
  52. #:typeset-truth-table
  53. #:*known-formats*
  54. #:typeset-table-to-format))
  55. (defpackage #:truth-table/args
  56. (:use #:common-lisp)
  57. (:export
  58. #:*cli-parse-continue-string*
  59. #:command-line-error
  60. #:cli-argument-error
  61. #:unknown-option-error
  62. #:option-no-arg-error
  63. #:no-input-error
  64. #:print-usage
  65. #:option-value
  66. #:parse-command-line))