git @ Cat's Eye Technologies Quylthulg / b0d619d
Add usage message. Add example program. Update copyright year. Chris Pressey 5 years ago
4 changed file(s) with 13 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
44
55 -----------------------------------------------------------------------------
66
7 Copyright (c)2008-2012 Chris Pressey, Cat's Eye Technologies.
7 Copyright (c)2008-2015 Chris Pressey, Cat's Eye Technologies.
88 All rights reserved.
99
1010 The authors intend this Report to belong to the entire Quylthulg
2121
2222 -----------------------------------------------------------------------------
2323
24 Copyright (c)2008-2012 Chris Pressey, Cat's Eye Technologies.
24 Copyright (c)2008-2015 Chris Pressey, Cat's Eye Technologies.
2525 All rights reserved.
2626
2727 Redistribution and use in source and binary forms, with or without
0 {*[SQR][*{X}*{X}*]}{*[X][5]}{SQR}
33 import Qlzqqlzuup
44
55 main = do
6 [fileName] <- getArgs
7 c <- readFile fileName
8 putStr $ showRun c
6 args <- getArgs
7 case args of
8 [fileName] -> do
9 c <- readFile fileName
10 putStrLn $ showRun c
11 return ()
12 _ -> do
13 putStrLn "Usage: qlzqqlzuup <filename.quylthulg>"
00 --
1 -- Copyright (c)2008-2012 Chris Pressey, Cat's Eye Technologies.
1 -- Copyright (c)2008-2015 Chris Pressey, Cat's Eye Technologies.
22 -- All rights reserved.
33 --
44 -- Redistribution and use in source and binary forms, with or without
3030 --
3131
3232 --
33 -- Qlzqqlzuup.hs v2011.0517
33 -- Qlzqqlzuup.hs revision 2015.0101
3434 --
3535 -- 'Qlzqqlzuup, the Lord of Flesh': Reference interpreter for
3636 -- The Quylthulg Programming Language