Giter Club home page Giter Club logo

oraide's Introduction

oraide

what's in a name? what the heck is an oraide?

The oraide moniker is simply a shortened form of "OpenRA IDE."

project plan

A suite of tools to aid in the development of OpenRA-based games.

OpenRA is a general-purpose RTS game engine with strong modding support.

(copied from https://www.openra.net/about/)

The goal of this project is not to produce libraries for developers, although that will happen, but to create tools (such as command-line applications, editor extensions, etc.) that reduce friction in game development.

actual project status

Exposes functionality to componentize MiniYaml, a textual file format custom to OpenRA, into spanned lines which can be used to implement basic linting, but not much else currently.

See the running the command-line application section of this file for more information.


Note that although half of the name "MiniYaml" is "Yaml", and the .yaml file extension is used, it is not YAML.

Due to the fact that MiniYaml and YAML are indentation-based, syntax-highlighting a MiniYaml file as YAML generally works well enough.

technologies used

running the command-line application

Note that this command-line application primarily exists currently to manually test functionality as it is implemented.

From the root of this repository (the directory containing the file you're currently reading), execute the following in your shell.

cargo run --manifest-path=./crates/cli/Cargo.toml -- check ./test-miniyaml-files/exploding-barrel.yaml

You should see output similar to the following.

command output

Notice that the lines have been split into components (indent, key, etc.). Internally these components are byte index spans, but the text of those spans is displayed here.

raw     = "exploding-barrel:\n"
indent  = None
key     = Some("exploding-barrel")
key_sep = Some(":")
value   = None
comment = None
term    = Some("\n")

raw     = "    Tooltip:\n"
indent  = Some("    ")
key     = Some("Tooltip")
key_sep = Some(":")
value   = None
comment = None
term    = Some("\n")

raw     = "        Name: barrels\n"
indent  = Some("        ")
key     = Some("Name")
key_sep = Some(":")
value   = Some("barrels")
comment = None
term    = Some("\n")

raw     = "    Health:\n"
indent  = Some("    ")
key     = Some("Health")
key_sep = Some(":")
value   = None
comment = None
term    = Some("\n")

raw     = "        HP: 5\n"
indent  = Some("        ")
key     = Some("HP")
key_sep = Some(":")
value   = Some("5")
comment = None
term    = Some("\n")

raw     = "    Explodes:\n"
indent  = Some("    ")
key     = Some("Explodes")
key_sep = Some(":")
value   = None
comment = None
term    = Some("\n")

raw     = "        Weapon: large-barrel-explode\n"
indent  = Some("        ")
key     = Some("Weapon")
key_sep = Some(":")
value   = Some("large-barrel-explode")
comment = None
term    = Some("\n")

raw     = "    MapEditorData:\n"
indent  = Some("    ")
key     = Some("MapEditorData")
key_sep = Some(":")
value   = None
comment = None
term    = Some("\n")

raw     = "        Categories: props, dangerous-props\n"
indent  = Some("        ")
key     = Some("Categories")
key_sep = Some(":")
value   = Some("props, dangerous-props")
comment = None
term    = Some("\n")

contributing

oraide is not yet ready for contributions.

license (AGPLv3)

Read LICENSE-AGPLv3 for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.