git @ Cat's Eye Technologies Oxcart / master src / Main.hs
master

Tree @master (Download .tar.gz)

Main.hs @masterraw · history · blame

-- Copyright (c) 2024, Chris Pressey, Cat's Eye Technologies.
-- This file is distributed under a 2-clause BSD license.  See LICENSES/ dir.
-- SPDX-License-Identifier: LicenseRef-BSD-2-Clause-X-Oxcart

module Main where

import System.Environment
import Language.Oxcart.ConcatEval (run)


main = do
    [fileName] <- getArgs
    c <- readFile fileName
    putStr $ show $ run c