thesofakillers / iclingo

🔴🟢🔵 clingo kernel for Jupyter
https://pypi.org/project/iclingo/
GNU General Public License v3.0
6 stars 1 forks source link

Figure out way to allow users to add config to each cell #4

Open thesofakillers opened 2 years ago

thesofakillers commented 2 years ago

so that you can govern number of returned answer sets for example

thesofakillers commented 2 years ago

seems like this is a javascript thing: an example https://github.com/vatlab/sos-notebook/search?q=dropdown

or alternatively, could use some ipykernel magics commands. For that metakernel could be useful

thesofakillers commented 2 years ago

https://github.com/vatlab/sos-notebook/blob/dd2ef4d331df50b5bfcde976dc99005980c870b9/src/sos_notebook/magics.py

this is an interesting approach to handling magics

thesofakillers commented 2 years ago

See also this thread https://github.com/takluyver/bash_kernel/issues/32 for magics