CodePlayground is a playground tool for go and rust language.

CodePlayground

CodePlayground is a playground tool for go and rust language.

Go Report Card Go Doc Card

Installation

Use homebrews to install code-playground.

brew tap trendyol/trendyol-tap
brew install code-playground

Usage

Commands open default (vim) editor

code-playground go

code-playground rust

If you want to use another editor for code-playground, export PLAYGROUND ENVIRONMENT value.

e.g. export PLAYGROUND_ENVIRONMENT="subl -w" (use sublime editor)

e.g. export PLAYGROUND_ENVIRONMENT="code -w" (use vscode editor)

Flags

Naming Playground

This command save to playground.

code-playground go my-go-playground

code-playground rust my-rust-playground

Share (-s)

This flag generate to playground link.

code-playground go -s

code-playground rust -s

Import (-i)

This flag import to shared playground link.

code-playground go -i "https://play.golang.org/p/9geTEmeOzJO"

code-playground rust -i "https://play.rust-lang.org/?gist=62a1c0b6f2aee0f7ebd78cfbddaae0e4"

Output

>>> code-playground rust -s

-------------------------------------------------
Hello, code-playground
-------------------------------------------------
⇨ https://play.rust-lang.org/?gist=7f28f8a1a7f35c35a903f983fa95b9e0
Owner
Similar Resources

Lithia is an experimental functional programming language with an implicit but strong and dynamic type system.

Lithia is an experimental functional programming language with an implicit but strong and dynamic type system. Lithia is designed around a few core concepts in mind all language features contribute to.

Dec 24, 2022

A stack oriented esoteric programming language inspired by poetry and forth

paperStack A stack oriented esoteric programming language inspired by poetry and forth What is paperStack A stack oriented language An esoteric progra

Nov 14, 2021

A toy language parser, lexer and interpreter written in Golang

Monkey - A toy programming language Monkey is a toy programming language used to learn how to write a lexer, parser and interpreter. The language is i

Nov 16, 2021

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

Advent of Code 2021 Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved

Dec 2, 2021

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. This repository holds my submission/answers for these challenges.

Advent of Code - Zach Howell's Answers Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels

Jan 4, 2022

Various Dungeons and Dragons Tools. Written in go as an aid to learning the language.

dnd_tools Various Dungeons and Dragons Tools. Written in go as an aid to learning the language. Some tools are generic, while others will target eithe

Jan 28, 2022

Some utilities for Persian language in Go (Golang)

persian Some utilities for Persian language in Go (Golang). Installation go get github.com/mavihq/persian API .ToPersianDigits Converts all English d

Oct 22, 2022

Unit tests generator for Go programming language

Unit tests generator for Go programming language

GoUnit GoUnit is a commandline tool that generates tests stubs based on source function or method signature. There are plugins for Vim Emacs Atom Subl

Jan 1, 2023

FreeSWITCH Event Socket library for the Go programming language.

eventsocket FreeSWITCH Event Socket library for the Go programming language. It supports both inbound and outbound event socket connections, acting ei

Dec 11, 2022
Comments
  • Vim vs notepad

    Vim vs notepad

    Merhaba mevcutta sanırım vim editörünü kullanıyor. bunu da parametrik olarak örneğin notepad kullanacak şeklide bir güncelleme yapabilmemiz mümkün mü ?

Go specs implemented as a scripting language in Rust.

Goscript A script language like Python or Lua written in Rust, with exactly the same syntax as Go's. The Goal Runs most pure Go code, probably add som

Jan 8, 2023
Playground With Golang

playground-go required environment variables set the following environment variables for service runtime env var name value type PORT_NUMBER string ho

Jan 16, 2022
XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator

xgen Introduction xgen is a library written in pure Go providing a set of functions that allow you to parse XSD (XML schema definition) files. This li

Jan 1, 2023
An online Zig compiler inspired by Go and Rust

Zig Playground This is a rudimentary online compiler for the Zig programming language. It is inspired by the Go playground. Setup The main server is a

Jan 3, 2023
Go implementation of the Rust `dbg` macro

godbg ?? godbg is an implementation of the Rust2018 builtin debugging macro dbg. The purpose of this package is to provide a better and more effective

Dec 14, 2022
A Go implementation of Rust's evmap

A Go implementation of Rust's evmap which optimizes for high-read, low-write workloads and uses eventual consistency to ensure that readers and writers never block each other.

Sep 3, 2022
Slabmap - Ported from Rust library slabmap

slabmap Ported from Rust library slabmap Examples import "github.com/pourplusquo

Jul 30, 2022
Tool, language and decoders for inspecting binary data.

fq Tool, language and decoders for inspecting binary data. In most cases fq works the same way as jq but instead of reading JSON it reads binary data.

Jan 4, 2023
dropspy is a (POC-quality) reworking of the C-language dropwatch tool in Go, with some extra features.

dropspy is a (POC-quality) reworking of the C-language dropwatch tool in Go, with some extra features.

Dec 12, 2022
The new home of the CUE language! Validate and define text-based and dynamic configuration

The CUE Data Constraint Language Configure, Unify, Execute CUE is an open source data constraint language which aims to simplify tasks involving defin

Dec 31, 2022