Sign inSign up

bogem/inginious-c-lisp

By bogem

Updated over 9 years ago

Lisp (SBCL) image for INGInious

Image
0

378

bogem/inginious-c-lisp repository overview

Lisp (SBCL) image for INGInious

Container image with latest SBCL

Example of run:

#!/bin/bash

getinput 1 > student/test.lisp

output=$(run_student sbcl --script student/test.lisp 2> errors)
if [ "$( cat errors )" != "" ]; then
    feedback-result failed
    feedback-msg -em "There are errors in your code:\n\n"
    echo "$(cat errors)" | feedback-msg -ae
    exit
fi

if [ "$output" == "Hello, World!" ]; then
    feedback-result success
    feedback-msg -em "Your code is right! Output:\n\n"
else
    feedback-result failed
    feedback-msg -em "Your code is false. Output:\n\n"
fi

echo $output | feedback-msg -ae

Tag summary

Content type

Image

Digest

Size

123.3 MB

Last updated

over 9 years ago

docker pull bogem/inginious-c-lisp