Code Monkey home page Code Monkey logo

copilot-discussion's Introduction

Build Status

Copilot: a stream DSL

Copilot-language contains the actual embedded domain specific language that Copilot provides to its users. It comes with a series of basic operators and functionality, typically enough for most applications. Extended functionality is provided by the copilot-libraries module.

Copilot is a runtime verification framework written in Haskell. It allows the user to write programs in a simple but powerful way using a stream-based approach.

Programs can be interpreted for testing, or translated C99 code to be incorporated in a project, or as a standalone application. The C99 backend ensures us that the output is constant in memory and time, making it suitable for systems with hard realtime requirements.

Installation

Copilot-language can be found on Hackage. It is typically only installed as part of the complete Copilot distribution. For installation instructions, please refer to the Copilot website.

Further information

For further information, install instructions and documentation, please visit the Copilot website: https://copilot-language.github.io

License

Copilot is distributed under the BSD-3-Clause license, which can be found here.

copilot-discussion's People

Contributors

a-goodloe avatar chathhorn avatar elimendelson avatar fdedden avatar gajaloyan avatar ivanperez-keera avatar leepike avatar lmpick avatar mgc1998 avatar niswegmann avatar rdspring1 avatar seni avatar varmin123 avatar willpog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

willpog

copilot-discussion's Issues

Update copilot tutorial for typename => typeName ?

Having just bought a new computer and done a fresh install of Haskell and the Copilot libraries, I found that the Struct in Copilot.Compile.C99 was using the name typeName instead of typename, so I was getting an error in code that used typename. Unless I accidentally installed a non-standard version of copilot-c99 package, it might be worth updating the manual to reflect this.

tutorial: Update authors and emails

Description

The tutorial has an outdated list of contributors, and emails. That list should be updated to reflect any new co-authors, and the emails updated or removed.

Type

  • Management: update author / email list.

Additional context

None

Requester

  • Alwyn Goodloe

Method to check presence of the issue

Author list does not contain Will Pogge (who should be listed), and Ivan Perez' email is outdated.

Expected result

Author list should also incode Will Pogge. Emails shown should be updated and contain only Alwyn, Frank, Will and Ivan.

Desired result

Author list should also incode Will Pogge. Emails shown should be updated and contain only Alwyn, Frank, Will and Ivan.

Proposed solution

  • Update author list to include Will Pogge.
  • Remove emails of all authors except for Alwyn, Frank, Will and Ivan.
  • Update emails of Alwyn, Frank, Will and Ivan as needed.

Further notes

None.

The point of this repo is not clear in the README

This repo suggests that it should serve as a central point for discussing copilot, but it's unclear whether we'd expect it to be that way. Most likely, people would discuss copilot in the copilot repo, and come here only to ask about tutorials and papers. Perhaps it's best to keep it that way.

tutorial: Update explanations of C code generated

Description

Copilot 3.12 now generates an additional header file with struct definitions. Any references in the tutorial to the C files generated should be updated.

Type

  • Bug: keep up-to-date with changes in Copilot.

Additional context

Requester

  • Ivan Perez

Method to check presence of the issue

The description of the C files generated does not mention the <prefix>_types.h that is also generated. This file is generated in Copilot 3.12.

Expected result

Any mentions of the C code generated that explicitly mention and/or describe the files should also mention the <prefix>_types.h file that contains struct definitions.

Desired result

Any mentions of the C code generated that explicitly mention and/or describe the files should also mention the <prefix>_types.h file that contains struct definitions.

Proposed solution

Modify mentions of the C code generated that explicitly mention and/or describe the files generated to also mention the <prefix>_types.h file that contains struct definitions.

Further notes

None.

XOR for Stream Word8

I've been unable to find XOR (exclusive-or) for the Stream Word8 type. Advice appreciated.

Fix latch example

The latch example (fig 1, section 3.1) does not work. Haskell's if-else should be replaced by Copilot's mux or ifThenElse

Fix counter example

The counter example (fig 2, section 3.1) does not work. Haskell's if-else should be replaced by Copilot's mux or ifThenElse

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.