adventuresvilla.blogg.se

Kerbal space program kos
Kerbal space program kos








kerbal space program kos
  1. Kerbal space program kos mod#
  2. Kerbal space program kos software#

TranspilationĪs ksx files contain instructions that the actual kOS processor does not ksxįiles into pure KerboScript, as well as performing minification of pure This repository includes a tool ksx.py which is capable of transpiling. "KerboScript Extended" (ksx) Language Extensions

  • Additionally, making this assumption part of the language opens the door forĪctually compiling in a runtime check at some point in the future.
  • Yes you could put this information in a comment, but that tends to fade into the background.
  • kerbal space program kos kerbal space program kos

    There is no standard way to document this expectation in a KerboScript file. With an implicit assumption made about what other scripts have been previouslyĮxecuted. Due to disk space restrictions it is often best to write a series of scripts.Mechanism for supporting code modularization, but KerboScript does not. There is no import mechanism, think the import keyword in Python, include.Primarily, I find myself concerned by the following things: Penalization of writing comments (disk size is limited, file sizes are justĬharacter counts), but there are also some more subtle issues I have seen

    Kerbal space program kos software#

    The base KerboScript language contains some shortcomings which make it non-idealįor writing large and reliable software projects. It does not use very much 'make' magic so I don't feel the need to explain itĪny further than that. The Makefile provides shortcuts for some commands I find myself using often, When you clone this repository, this folder will not contain any. editor - Editor specific files (for syntax highlighting)Īlso at the top level is the minified folder, which contains a mirror ofĮverything in the source folder, but in 'minified' form so that it takes up.Can also be arbitrary KerboScript to run. missions - Typically a composition of 'actions' as well as glue logic to piece them together.actions - One-off activities that are meant to be generic across vessels and generally too complex to be contained in a library.Meant to be re-used across actions and missions. lib - My personal library of KerboScript functions.boot - All of my bootloaders that can be executed whenever a kOSProcessor starts up, selectable in the VAB/SPH.This folder there are a few subdirectories, outlined below. Programming series, you can find Kevin's source codeĪll of the kOS code (KerboScript) is contained under the source folder. Many ideas and implementation decisions taken from the excellent Kerbal Space

    Kerbal space program kos mod#

    My scripts and supporting tools for the Kerbal Space Program (KSP) mod Kerbal










    Kerbal space program kos