Skip to content

Considerations for lib/slash/ as a submodule. #9

@kivkiv12345

Description

@kivkiv12345

Yesterday we (@jeanbaptistelab, @troelsjessen and I) discussed how the removal of the default lib/slash/ loki implementation (see: spaceinventor/slash#7) has provided trouble for PyCSH, which recently received lib/slash/ as a submodule.

We mostly agreed that the addition of lib/slash/ to PyCSH was probably a mistake, meaning its removal is likely pending (a fact that @Ahbork and @fadeto404 may want to know).

It was decided that the desire to run .csh scripts from PyCSH is misguided, and that the ideal 'solution' is for both slash commands and PyCSH to be thin wrappers for the C implementations.

It seems to me that this would require .csh scripts to be rewritten from slash to PyCSH, which seems tedious from an operations perspective.

Personally I am still undecided, as the inclusion of lib/slash/ is quite simple, technically speaking.
And its absence may be a major burden for @Ahbork and @fadeto404.

Regarding APMs, we discussed how their authors could create both a slash and PyCSH/CPython interface.
Technically speaking, I believe it should even be possible for both the Python package and CSH APM to be compiled into the same shared object. But we could probably also have lib/apm compile a shared object for either interfacing shell or language instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions