Skip to content

MoodyReaper/multi-language-programming-playground

Folders and files

NameName
Last commit message
Last commit date
Jun 2, 2024
Mar 23, 2024
Jul 29, 2023
Mar 23, 2024
Mar 23, 2024
Mar 23, 2024
Apr 2, 2024
Jul 11, 2023
Nov 12, 2023
Jul 11, 2023
Jul 11, 2023
Jul 11, 2023
Sep 28, 2023
Jul 11, 2023
Mar 23, 2024
Jul 11, 2023
Mar 23, 2024

Repository files navigation

Multi-language programming playground

Summary

Programming playground for:

  • Go
  • Python
  • Rust
  • TypeScript

Additional features:

  • CI (GitHub Actions)
  • Static code analysis: formatting and linting

Setup

  1. Clone repository with git and cd into cloned repo
  2. Optional: install recommended software (read below)
  3. Optional: install runtimes by running asdf install
  4. Continue:

Recommended software

Software Description
asdf Multiple runtime version manager
trunk Developer experience (DevEx) toolkit

asdf

Defined runtimes:

Runtime Version Repository
golang 1.22.1 https://github.com/kennyp/asdf-golang
python 3.12.2 https://github.com/asdf-community/asdf-python
rust 1.77.0 https://github.com/code-lever/asdf-rust
nodejs 20.11.1 https://github.com/asdf-vm/asdf-nodejs

Trunk

Useful commands:

Command Description
trunk fmt Check files formatting with Trunk (by default, only modified files)
trunk check Lint files with Trunk (by default, only modified files)