Operating system for OpenComputers
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
XeonSquared 29cdcb1809 added the preproc library, meaning PsychOS is nominally self-hosting před 4 roky
cfg default rc configuration před 4 roky
lib added the preproc library, meaning PsychOS is nominally self-hosting před 4 roky
module added type annotations and descriptions for functions where appropriate před 4 roky
service clipboard: Make the clipboard service work under the new service sys před 4 roky
.editorconfig clipboard: Make the clipboard service work under the new service sys před 4 roky
.gitignore clipboard: Make the clipboard service work under the new service sys před 4 roky
LICENSE Initial commit před 5 roky
README.md updated the build instructions, script and gitignore před 4 roky
build.lua added the preproc library, meaning PsychOS is nominally self-hosting před 4 roky
build.sh added the preproc library, meaning PsychOS is nominally self-hosting před 4 roky
docs-metadata.yml added a title for PDF generation před 4 roky
finddesc.lua Fix document generation on Windows (using Git Bash) před 4 roky
gendoc.lua added doc() support for pre-compiled API documentation, wrote a generator for it, and included that in the build script před 4 roky
luapreproc.lua added type annotations and descriptions for functions where appropriate před 4 roky
package.sh added minitel to the default init, updated the package script před 4 roky
preproc.lua added the preproc library, meaning PsychOS is nominally self-hosting před 4 roky
template.tex updated finddesc to use the new doc library, allowing type annotations and building a directory of documentation před 4 roky

README.md

OC-PsychOS2

A lightweight, multi-user operating system for OpenComputers

Building

The kernel

The kernel can be built using luapreproc:

./luapreproc.lua module/init.lua kernel.lua

The boot filesystem

A boot filesystem contains several things:

  • The kernel, as init.lua
  • The exec/ directory, as this contains all executables
  • The lib/ directory, containing libraries
  • The service/ directory, containing system services

This has been automated in the form of build.sh, pending a real makefile.

Documentation

To generate function documentation, run:

./finddesc.lua module/* lib/* > apidoc.md