package

github.com/SamualLB/dot_prison

master / published Dec 30, 2025 / repository

Prison Architect .prison file parser written in Crystal

DotPrison

A library that reads from the Prison Architect save game (.prison) files.

Has a working parser and lexer, which produces a lua table-like structure (DotPrison::Table.)

These structures are then handled as Crystal (DotPrison::Consumer) objects

Installation

TODO: Write installation instructions here

Usage

Currently only usable as a library.

There are some examples in the examples directory, that will be expanded in future.

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/SamualLB/dot_prison/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

API

  • DotPrison
  • Object

    Object is the base type of all Crystal objects.

  • String

    A String represents an immutable sequence of UTF-8 characters.