churf/language.cabal
Samuel Hammersberg 8d698cecf9 Fixed some merge errors that occured when merging with main
Started implementing EApp.

Simple function calls now work.

Removed the LLVM standard library as it was not needed.

Limited functionality.

Got EApp working!!

Fixed arguments being inserted in the wrong order.

Updated the showing of `Call` so that it inserts a space inbetween arguments.

Removed some unused code from the generated main functions.

Force removed language.

Expressions that are simply just calling a constant now work properly.

Fixed constants being called inside nested expressions.

Cleaned up the compiler a bit.

Added a test suite, testing that the output from programs is correct, "evaluating the whole process".

Fixed a typo in basic-4.sf

Fixed basic-8 to work without a renamer.

Fixed some nicer output in the main function.

Made the outputted LLVM Ir somewhat nicer.

Fixed a typo and updated how SetVariable works.

Formatted and added documentation.

Added instructions allowing for branching.
2023-02-16 00:16:44 +01:00

78 lines
1.5 KiB
Text

cabal-version: 3.4
name: language
version: 0.1.0.0
license: MIT
license-file: LICENSE
author: bachelor-group-66-systemf
maintainer: sebastian.selander@gmail.com
category: Language
build-type: Simple
extra-doc-files: CHANGELOG.md
extra-source-files:
Grammar.cf
common warnings
ghc-options: -W
Test-Suite sample-programs
Type: exitcode-stdio-1.0
main-is: Main.hs
Build-depends:
base >=4.16
, QuickCheck
, hspec
, directory
, process
, mtl
, containers
, either
, array
, extra
hs-source-dirs: src, sample-programs
default-language: GHC2021
other-modules:
Grammar.Abs
Grammar.Lex
Grammar.Par
Grammar.Print
Grammar.Skel
Grammar.ErrM
LambdaLifter
Auxiliary
Interpreter
Compiler.Compiler
Compiler.LLVMIr
executable language
import: warnings
main-is: Main.hs
other-modules:
Grammar.Abs
Grammar.Lex
Grammar.Par
Grammar.Print
Grammar.Skel
Grammar.ErrM
LambdaLifter
Auxiliary
Interpreter
Compiler.Compiler
Compiler.LLVMIr
hs-source-dirs: src
build-depends:
base >=4.16
, mtl
, containers
, either
, array
, extra
default-language: GHC2021