0.3.1 • Published 1 year ago
ludit v0.3.1
Ludi allows you to generate truth tables and karnaugh tables.
def and = A * B
def or = A + B
or(and(A, !B), C)
def and = A * B
def or = A + B
or(and(A, !B), C) ~k
Install
npm i -g ludit
(build from source for latest check package.json
)
Install the standard lib (Optional)
Run ./install.sh
as root
Usage
Show help menu
ludit -h
Write boolean equations
ludit "A * 'B + 'A * B"
You can also run files with -f
ludit -f ./examples/project/main.ludi
Read the language documentation
Syntax highlighting file for vim is provided under
.vim/ludi.vim