https://github.com/sammi-turner/assorted-golang
Example code, Codewars katas and a compiler for the Monkey programming language.
https://github.com/sammi-turner/assorted-golang
beginner-friendly codewars-kata-solution monkey-programming-language
Last synced: 6 months ago
JSON representation
Example code, Codewars katas and a compiler for the Monkey programming language.
- Host: GitHub
- URL: https://github.com/sammi-turner/assorted-golang
- Owner: sammi-turner
- Created: 2023-01-21T06:23:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-17T22:07:36.000Z (over 1 year ago)
- Last Synced: 2025-04-05T14:36:27.663Z (about 1 year ago)
- Topics: beginner-friendly, codewars-kata-solution, monkey-programming-language
- Language: Go
- Homepage:
- Size: 514 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assorted-Golang
Example code, Codewars katas and a compiler for the Monkey programming language.
## Installation
Ben Davis has a nice video walk through on how to [install Go and set up the path variable](https://youtu.be/Q7uh85_i0-M)
## Syntax primer
"Learn X in Y minutes" has a [good introduction to Go](https://learnxinyminutes.com/docs/go/)
## To run a single main.go file
```sh
go run main.go
```
## To create a go.mod file for a project
```sh
go mod init name-of-project
```
## To compile a project that has a go.mod file
```sh
go build
```
## To run a project
```sh
./name-of-project
```
## To compile and run a project
```sh
go build && ./name-of-project
```
## Video course
The FreeCodeCamp YouTube channel has a [beginners course](https://youtu.be/un6ZyFkqFKo) to get you started.