Sea Lion (battery-electric locomotive)

Sea Lion was a 2-foot gauge battery-electric locomotive built by Wingrove & Rogers in 1921 as works no. 313 for the Groudle Glen Railway on the Isle of Man. Together with its sister, Polar Bear, it was intended that they would replace two Bagnall steam locos of the same names. However, the battery locos were not hugely successful, with Sea Lion being scrapped in 1922 following an incident where it fell down the side of the Groudle Glen.

Replica

It has been proposed to build a replica Sea Lion at the Amberley Museum Railway, home of Polar Bear, using the frames of 1953-built Wingrove & Rogers loco no. 5031, which has been used at Amberley as a spares donor. The replica would be built initially as a static exhibit, with the potential for it to be made operational.

gollark: _continues WHYJIT development_
gollark: ```python#!/usr/bin/env python3import argparseimport subprocessparser = argparse.ArgumentParser(description="Compile a WHY program")parser.add_argument("input", help="File containing WHY source code")parser.add_argument("-o", "--output", help="Filename of the output executable to make", default="./a.why")parser.add_argument("-O", "--optimize", help="Optimization level", type=int, default="0")args = parser.parse_args()def build_output(code, mx): C_code = f"""#define QUITELONG long long intconst QUITELONG max = {mx};int main() {{ volatile QUITELONG i = 0; // disable some "optimizations" that RUIN OUR BEAUTIFUL CODE! while (i < max) {{ i++; }} {code}}} """ shell_script = f"""#!/bin/shTMP1=/tmp/ignore-meTMP2=/tmp/ignore-me-too cat << EOF > $TMP1{C_code}EOF gcc -x c -o $TMP2 $TMP1 chmod +x $TMP2 $TMP2 """ return shell_scriptinput = args.inputoutput = args.outputwith open(input, "r") as f: contents = f.read() looplen = max(1000, (2 ** -args.optimize) * 1000000000) code = build_output( contents, looplen ) with open(output, "w") as out: out.write(code)```
gollark: I give you... WHYJIT.
gollark: Trouble is that bundling TCC would require *building* it and that'd increase WHY compile times significantly.
gollark: So how does one actually go around packaging binaries with the program?

References


    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.