add neat repl behavior

This commit is contained in:
NunoSempere 2025-01-23 12:23:48 +01:00
parent 55e525e519
commit 36676c78cc
2 changed files with 3 additions and 2 deletions

View File

@ -121,6 +121,8 @@ You can save a session to a logfile with tee:
fermi | tee -a fermi.log fermi | tee -a fermi.log
``` ```
You can open a model in a tab (for instance in tmux), and in a terminal, run it with `fermi -f model.fermi`. If you then add a new line to the model in the first tab, it will also be processed by the second tab. I don't really know why this happens.
## Different levels of complexity ## Different levels of complexity
The mainline code has a bunch of complexity: variables, parenthesis, samples, beta distributions, number of samples, mixtures etc. In the simple/ folder: The mainline code has a bunch of complexity: variables, parenthesis, samples, beta distributions, number of samples, mixtures etc. In the simple/ folder:

View File

@ -5,7 +5,6 @@ run:
go run main/fermi.go main/error.go main/pretty.go go run main/fermi.go main/error.go main/pretty.go
install: fermi install: fermi
rm /usr/bin/fermi rm -f /usr/bin/fermi
rm /usr/bin/f
sudo mv fermi /usr/bin/fermi sudo mv fermi /usr/bin/fermi
sudo ln -s /usr/bin/fermi /usr/bin/f sudo ln -s /usr/bin/fermi /usr/bin/f