[DRAFT] Add support for lisp eval support for S Expressions #209
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support for evaluating S Expressions using various lisp-like languages (whichever is available in a system). The main logic seems to be working when tested outside albert.
Issues
I need help with local testing. I followed
CONTRIBUTING.md
by cloning this repo intogit clone https://github.com/<username>/python.git ~/Library/Application\ Support/albert/python/plugins
and used PyCharmCE and pointed it to use the venv that came with albert. However,from albert import *
still fails as thealbert
module is not available.pip3 install albert
does not seem to work asalbert
is not a PyPI published package. Is there a step by step guide to follow to make available thealbert
dev module?Also, it would probably be useful to show the list of available lisp interpreters for the user to choose in Albert plugin settings. I am not too concerned about that for now, as the functionality is intended for simple short evaluations of one-liners, and those tend to be just simple calculators.