trueagi-io / hyperon-experimental

MeTTa programming language implementation
https://metta-lang.dev
MIT License
133 stars 44 forks source link

Enable REPL as a default MeTTa script inside Docker #605

Closed vsbogd closed 1 month ago

vsbogd commented 6 months ago

Enable REPL as a default MeTTa script inside Docker. Make a release build inside Docker by default. NB: this Docker image contains temporary build files has big size and thus cannot be used as a MeTTa distribution package. If we want to distribute MeTTa as a Docker image it is better to improve this script or add another Dockerfile.

Necr0x0Der commented 6 months ago

I don't have a strong opinion whether REPL should be the default MeTTa runner in Docker. I'm OK with this if this is a request from the Docker users.

vsbogd commented 6 months ago

I don't have a strong opinion whether REPL should be the default MeTTa runner in Docker. I'm OK with this if this is a request from the Docker users.

It was not requested by the Docker users but one of the goals of adding REPL was to add additional flexibility to the MeTTa command line tool: syntax highlighting, step by step execution. Should we start using REPL by default?

luketpeterson commented 6 months ago

I don't have a strong opinion here either. The REPL app has more capabilities than the Python runner (namely interactive mode)

Will https://github.com/trueagi-io/hyperon-experimental/issues/432 ever be issue or does the Docker environment mean this won't come up? I think ie makes sense to merge it if the conda / pyenv problem is a non-issue.

vsbogd commented 6 months ago

Will https://github.com/trueagi-io/hyperon-experimental/issues/432 ever be issue or does the Docker environment mean this won't come up? I think ie makes sense to merge it if the conda / pyenv problem is a non-issue.

It will not be a problem inside a Docker container because global Python environment is used.

vsbogd commented 1 month ago

Replaced by #732