Git Product home page Git Product logo

astview's People

Contributors

jokusi avatar mpickering avatar pascalh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

astview's Issues

Decouple program state and gtk types

Currently the AstState contains three fields for internal program state, gtk gui types and program options. The gtk types don't really belong here, since they are an implementation detail for the gtk-implementation.

Task: Remove the gtk types from this type and make them accessible via a Reader monad. This will most probably lead to a larger refactoring.

Doesn't start on Mac OS

(astview:65364): Gtk-CRITICAL **: gtk_accel_group_connect_by_path: assertion '_gtk_accel_path_is_valid (accel_path)' failed

(astview:65364): Gtk-CRITICAL **: gtk_menu_item_set_accel_path: assertion 'accel_path == NULL || (accel_path[0] == '<' && strchr (accel_path, '/'))' failed

(astview:65364): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

Please let me know if you need more info on the problem.

Use bnfc-meta to define a parser

bnfc-meta provides an easy way of defining parsers. Unfortunately it doesn't provide support for source locations (yet). Hence, this task is only about proving an example parser on how to use bnfc with astview. Probably just use the javalette example language.

For now it might make sense to just ignore the syntax highlighting for the generated language (and maybe add it later on in a separate task).

Compile with ghc-8.*

  • Use stack to build on travis
  • Make astview compile with ghc-8.*
  • Remove the travis build with older versions of ghc

Add tests for language plugins

Test (for each supported language) whether

  • the parser can parse source files
  • source location extraction (from the parsed and transformed abstract syntax tree) works

Update dependencies

Master builds against lts-7.24 which is already a year old. Bump dependencies to build with a newer LTS version (opt for LTS 12.5)

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.