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

List supported languages (non-shell) and contribution guidelines how to add new ones in the docs #355

Open
petershaw opened this issue Jul 30, 2023 · 6 comments

Comments

@petershaw
Copy link

I am looking for a list of supported languages and a guide for contributing language runners.
Would be cool to habe a contributing section in the docs.

@admc
Copy link
Member

admc commented Jul 30, 2023

Hi @petershaw and thanks for your interest! We actually haven't officially released the languages functionality yet, but it will happen soon. Docs on supported languages and how to contribute more is a great idea 👍

@sourishkrout
Copy link
Member

I am looking for a list of supported languages and a guide for contributing language runners. Would be cool to habe a contributing section in the docs.

Thanks for the suggestion, @petershaw. As @admc mentioned, the first release of additional language support will drop shortly. We're planning for next week; including docs of what's supported.

Meanwhile, could you provide an example of what other language(s) you'd be looking to integrate? Just so I can get a better sense? Thank you!

@petershaw
Copy link
Author

Sure. I am interested mostly in Swift but would appreciate Perl, Rust, bash, go and Lua as well.

@sourishkrout
Copy link
Member

Hi @petershaw, we just release runme v1.7.x a few days ago. It comes with a preview of shebang (aka #!) support. Now you can run perl, lua, and other interpreted languages such as Ruby, Python, Javascript/Typescript, etc out of the box. Needless to say, Shell is already supported (see https://docs.runme.dev/configuration#set-custom-shell for non-default shells).

Support for compiled languages (Golang, Rust, etc) with a build step is still pending. We will spin off a feature request ticket to track that effort. We don't have an ETA here yet.

Here are examples for Perl & Lua. In fact, we'll be releasing a version that will attempt to autocomplete the interpreter for both but for now, this will work just fine:
https://gist.githubusercontent.com/sourishkrout/560e075b4cb2ee668610ff5e6e7bd96a/raw/af98ea81b707d11fc8354e6153ee78e8d72598bc/interpreter.md

image

@sourishkrout
Copy link
Member

Will be included in next patch release, Perl & Lua support: 3103a79 & a2d7b74

@petershaw
Copy link
Author

Wonderfull. Thank you very much!

@sourishkrout sourishkrout changed the title Not every language is executable... yet! Coming soon: Mix and match languages in Runme. List supported languages (non-shell) and contribution guidelines in the docs to add new ones Aug 9, 2023
@sourishkrout sourishkrout changed the title List supported languages (non-shell) and contribution guidelines in the docs to add new ones List supported languages (non-shell) and contribution guidelines how to add new ones in the docs Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants