Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using only JavaScript for rendering and simulating #2

Open
andre-dietrich opened this issue Dec 16, 2018 · 2 comments
Open

Using only JavaScript for rendering and simulating #2

andre-dietrich opened this issue Dec 16, 2018 · 2 comments

Comments

@andre-dietrich
Copy link

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é

@lvandeve
Copy link
Owner

lvandeve commented Dec 22, 2018

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

@andre-dietrich
Copy link
Author

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants