Operating system for OpenComputers
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
XeonSquared fb0c740b39 add liblz16 and lzss for use with pkgfs, and eventually mtar probably 11 минут назад
cfg default rc configuration 2 месяцев назад
lib add liblz16 and lzss for use with pkgfs, and eventually mtar probably 11 минут назад
module added a fallback _OSVERSION string 2 дней назад
service clipboard: Make the clipboard service work under the new service sys 2 недель назад
.editorconfig clipboard: Make the clipboard service work under the new service sys 2 недель назад
.gitignore clipboard: Make the clipboard service work under the new service sys 2 недель назад
LICENSE Initial commit 1 год назад
README.md updated the build instructions, script and gitignore 7 месяцев назад
build.lua added the preproc library, meaning PsychOS is nominally self-hosting 2 дней назад
build.sh bumped the version number because we selfhosting now 2 дней назад
docs-metadata.yml added a title for PDF generation 3 недель назад
finddesc.lua Fix document generation on Windows (using Git Bash) 3 недель назад
gendoc.lua added doc() support for pre-compiled API documentation, wrote a generator for it, and included that in the build script 3 недель назад
luapreproc.lua added type annotations and descriptions for functions where appropriate 3 недель назад
package.sh added minitel to the default init, updated the package script 6 месяцев назад
preproc.lua added the preproc library, meaning PsychOS is nominally self-hosting 2 дней назад
template.tex updated finddesc to use the new doc library, allowing type annotations and building a directory of documentation 3 недель назад

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