yodk

command module
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 1 Imported by: 0

README

YODK - YOLOL Development Kit

Build Status

What is YOLOL?

YOLOL is the ingame programming language for the upcoming game starbase.

What is the YODK?

The yodk aims to be a toolkit that helps with the development of YOLOL-Scripts. YOLOL is a pretty limmited language and the lack of common features is really annoying for experienced programmers. The yodk (and in the future especially nolol) will try to mitigate this.

It mainly consists of:

  • A cli application that bundles helpful features for yolol-development (docs)
  • A vscode extension, that makes the features of the cli available directly in vscode (docs)
  • A new programming language called NOLOL, that extends YOLOL with a lot of features, experienced dvelopers really miss when using yolol. Lern more about nolol.

Features

CLI

  • auto-format code
  • verify correctnes of code
  • automatically test yolol-code
  • interactively debug yolol
  • compile NOLOL code to YOLOL (also, all previous features also work with NOLOL)
  • start a Language Server Protocol Server
  • start a Debug Adapter Protocol Server

For more detailed information, see the documentation.

VSCODE-Extension

  • Syntax highlighting of yolol and nolol
  • Automatically find and highlight errors in your code in realtime
  • Automatically format your code
  • Debug your yolol/nolol-code directly inside vscode
  • Use yodk commands directly from within vscode
    • Optimize YOLOL-code
    • Compile NOLOL to YOLOL

For more detailed information, see the documentation.

NOLOL

For an overview over the features of nolol, visit the documentation.

Installation

CLI - Binaries

You can find pre-build versions of the binaries here. Just download them, unpack the zip file and place the binary somewhere in your PATH.

CLI - From source

You will need to have the go-toolchain installed.
go install github.com/dbaumgarten/yodk
Note: It is helpful to add the yodk-binary to your path.

VScode extension

You can install vscode-yolol directly from the vscode marketplace. For more information, see the documentation.

Compatibility guarantees

Absolutely none. There will be massive changes to the codebase in the near future and things WILL definetly break.
If you want to use this projects code in your own project, you best use go-modules to pin your dependency to a fixed version number.

Also, as starbase has not been released, there is a lot of guesswork involved in the code. The goal is to be 100% compatible to starbase's implementation.

Contributing

Found bugs, suggestions, want to add features? Just open an issue.

You can, of course, fork this repo and create your own version of the yodk, but please consider working on this together. This way we will archive more.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
jsonrpc2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
lsp
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
vm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL