CodePlayground is a playground tool for go and rust language.

Overview

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
You might also like...
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.

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

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

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

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

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

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

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

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ü ?

    help wanted question 
    opened by icobani 1
Owner
Trendyol Open Source
Trendyol Open Source
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

null 1.4k Dec 2, 2022
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

Kalby Imanie 0 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

null 207 Dec 3, 2022
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

Garrett Squire 50 Dec 2, 2022
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

Tyler Wince 188 Nov 26, 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.

Clark McCauley 9 Sep 3, 2022
Slabmap - Ported from Rust library slabmap

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

Yang Pan 2 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.

Mattias Wadman 5k Dec 2, 2022
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.

fly.io 29 Oct 18, 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

null 3.2k Nov 28, 2022