Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exercism/common-lisp-representer


https://github.com/exercism/common-lisp-representer

community-contributions-paused exercism-representer exercism-tooling

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Common Lisp Representer

(_c.f._ For full details and up to date documentation on automated representers for Exercism see the [Automated Analysis][automated-analysis] repository.

> The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119][rfc-2119].

## Interface

(_.c.f._ [The Representer Interface][automated-analysis-representer-interface])

The `/opt/representer/bin/run.sh` script that the docker image runs receives two parameters:

1. the test slug
2. the input directory namestring. This directory contains the submitted code.
2. the output directory namestring. This directory will be writable.

The script *MUST* write the following files to the directory:

1. `representation.txt`: a normalized representation of the submitted code. All symbols must be replaced by generated symbols.
2. `mapping.json`: maps the generated symbols in `representation.txt` to the original symbols.

The output of the script *MAY* write the following files to the directory:

1. `representation.out`: any information that may want to view later for debugging.

The script *MAY* produce output to `stdout` and `stderr` which will be persisted for later.

[automated-analysis]: https://github.com/exercism/automated-analysis/
[automated-analysis-representer-interface]: https://github.com/exercism/automated-analysis/blob/master/docs/representers/interface.md
[rfc-2119]: https://www.ietf.org/rfc/rfc2119.txt