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

Evaluate chaiscript for expr library #728

Open
jolting opened this issue Apr 24, 2018 · 5 comments
Open

Evaluate chaiscript for expr library #728

jolting opened this issue Apr 24, 2018 · 5 comments
Labels
help wanted We seek help from someone willing to work on this topic!

Comments

@jolting
Copy link
Member

jolting commented Apr 24, 2018

https://github.com/ChaiScript/ChaiScript

c++14.
Lots of test coverage
Good documentation
Very complete scripting language.

https://codedocs.xyz/ChaiScript/ChaiScript/LangGettingStarted.html

@bergercookie
Copy link
Contributor

@jolting I've heard many nice things about ChaiScript. Is there a specific application we want to use it for or just integrate it and use it to evaluate string expressions?

@jolting
Copy link
Member Author

jolting commented Apr 24, 2018

Right now you can embed scripts in ini files for certain classes. chaiscript might be a good replacement for that. Mostly I think the c++ interface is a little nicer.

@jlblancoc
Copy link
Member

@bergercookie right now it's used mainly for some reactive nav configuration files, where some entries are scripts on their own. See for example this).

Indirectly it's also used via the $eval{} keyword in CConfigFileBase, so any MRPT "config file" already allows scripting ;-) It's barely documented here: http://mrpt.ual.es/reference/devel/config_file_format.html

@jolting
Copy link
Member Author

jolting commented Apr 25, 2018

P.S. ChaiScript is Jason Turner's pet project. https://www.youtube.com/user/lefticus1
It's worth watching some of his videos if you have the time.

@bergercookie
Copy link
Contributor

P.S. ChaiScript is Jason Turner's pet project. https://www.youtube.com/user/lefticus1 It's worth watching some of his videos if you have the time.

Oh, and I thought I'd heard of that guy before!
I'm listening to his CppCast podcast every day to work! :)

@jlblancoc jlblancoc added the help wanted We seek help from someone willing to work on this topic! label Oct 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We seek help from someone willing to work on this topic!
Projects
None yet
Development

No branches or pull requests

3 participants