logicemu
logicemu copied to clipboard
Using only JavaScript for rendering and simulating
Hi, is it possible to use your simulator and API for simulating single circuits only? I mean, if I have a string, can I call some api(string, container-id, other-settings...) function to accomplish that, without changing the url or requiring to show the the other UI stuff?
I would really like to use your lib for educational purposes...
Regards ,)
André
Hi, that's probably possible with various modifications but not easy right now because so far it was made only with the full page application in mind, but that's a good idea! Maybe I'll split off an embeddable part in the future.
The strings exist (full code as well as compressed URL parameter), but the api function in that way not
You could use LiaScript, as I would like to, to completely decouple your application from the educational contents.
See for example: https://liascript.github.io/course/?https://raw.githubusercontent.com/andre-dietrich/tau-prolog_template/master/README.md#3
or this list of templates, that can be used by other to develop their own online courses: https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/templates/master/README.md#7
Regards ...