coda: The coda compiler

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Warnings:

The coda compiler.


[Skip to ReadMe]

Properties

Version0.0.1
Change logCHANGELOG.md
Dependenciesarray, base (>=4.10 && <5), bound, bytestring (>=0.10.8 && <0.11), bytestring-short, coda, common, comonad (==5.*), console, containers (>=0.5.8.2 && <0.6), data-default-class (==0.1.*), lens (>=4.15 && <5), llvm-hs-pure (==6.0.*), megaparsec (>=6.0 && <7.0), optparse-applicative, prettyprinter, prettyprinter-ansi-terminal, server, text (==1.2.*), text-short, transformers, version [details]
License(BSD-2-Clause OR Apache-2.0)
CopyrightCopyright (C) 2017-2018 Edward A. Kmett
AuthorEdward A. Kmett
MaintainerEdward A. Kmett <ekmett@gmail.com>
CategoryLanguage
Home pagehttp://github.com/ekmett/coda/
Bug trackerhttp://github.com/ekmett/coda/issues
Source repositoryhead: git clone git://github.com/ekmett/coda.git
Executablescodex, llvm-test, codicil
UploadedWed Nov 14 21:48:00 UTC 2018 by EdwardKmett

Modules

Flags

NameDescriptionDefaultType
terminfo

Build with terminfo.

EnabledManual
test-tasty

Build tasty tests.

EnabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for coda-0.0.1

[back to package description]

coda

Travis Continuous Integration Status

This package will eventually provide a toy compiler.

For now, it provides an entertaining series of crashes and confusing error messages.

Table of Contents

Installation

To install the coda executable, you will need GHC 8.4.1 release candidate 1 or later, and you'll need to run cabal new-build, and fish through dist-newstyle for the executable and put it somewhere in your path.

Once cabal new-install works, this will become a lot easier.

To work on the extension, you'll need to:

  1. Download the repository from https://github.com/ekmett/coda if that isn't where you are reading this file from.

  2. Run code . from root of that repository

  3. Start debugging to launch the extension-host following the instructions in Running and Debugging Your Extension.

Alternately you can link the directory directly into your ~/.vscode/extensions folder, which may be useful if you're working on the typescript bits.

Autocompletion

Once you have an installed coda executable, bash command line autocompletion is available with:

$ source <(coda --bash-completion-script `which coda`)

You can add this to your .profile or .bashrc

Requirements

Currently, the build process is being tested on GHC 8.2, but I'm not actively doing anything to shut off older GHCs or newer ones.

Patches that help increase portability are welcome.

Documentation

Once there is an actual language here documentation will be forthcoming on it.

In the meantime, API documentation is available from https://ekmett.github.io/coda/

Directories

| Directory | Usage | | ------------- | ----- | | .vscode | Visual Studio Code configuration for the current workspace | | bin | Executable scripts | | lib/coda* | Haskell code for the language | | code | Typescript code for the extension | | images | The logo, etc. | | test/code | Typescript code for testing |

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual-licensed as above, without any additional terms or conditions.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the ##coda or #haskell IRC channels on irc.freenode.net.

-Edward Kmett