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

How to embed? Compile as static? #46

Open
PitilessPeanut opened this issue Apr 29, 2020 · 2 comments
Open

How to embed? Compile as static? #46

PitilessPeanut opened this issue Apr 29, 2020 · 2 comments
Assignees
Labels
feature request New feature or request question Further information is requested
Projects

Comments

@PitilessPeanut
Copy link

Is it possible to embed Chaos as a scripting language? Or is there a way to link against a static version?
Maybe #include chaos.h and call a parse() function? I couldn't find any such function, is there a way to do this?
Thanks in advance for any help or guidance as to how this could be done!

@mertyildiran
Copy link
Member

@StefanLaszlo I'm not sure what you mean by embed but as far as I understand, you want to a function like eval() in other languages like PHP. There is such a function in here but it's not exposed in Chaos.h though we can add it. Is it what you want?

@PitilessPeanut
Copy link
Author

Yes, that appears to be it! Thank you!

@mertyildiran mertyildiran self-assigned this Aug 16, 2020
@mertyildiran mertyildiran added the feature request New feature or request label Aug 16, 2020
@mertyildiran mertyildiran added this to To do in Chaos via automation Aug 16, 2020
@mertyildiran mertyildiran added the question Further information is requested label Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request question Further information is requested
Projects
Chaos
  
To do
Development

No branches or pull requests

2 participants