Giter Site home page Giter Site logo

ergo-vscode-plugin's People

Contributors

dselman avatar jeromesimeon avatar mttrbrts avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jeromesimeon

ergo-vscode-plugin's Issues

Refresh on model files changes

Currently, the plug-in does not detect changes to the model files, which means if you edit them the Ergo compiler is not aware of it.

We should have the plugin refresh when a model file changes.

Syntax highlighting for concept constructors

Syntax highlighting does not handle object creation, e.g.,:

return MonetaryAmount{ doubleValue : 2.0, currencyCode : "USD" }

The concept name (e.g., MonetaryAmount) should be colored as a type name.

Refactor extension

I think this should be renamed to accordproject-vscode-extension and have the following features:

  • edit/validate tem files
  • edit validate cto files
  • edit/validate ergo files
  • integrate the Ergo REPL?
  • generate UML for a template
  • generate HTML description of a template
  • parse a file using a template
  • execute a template against request and state

We should rework the validation logic to be aware of the template that is being worked on so that ModelManager that is created is specific to a single template.

This will mean that Accord Project users won't have to install the Composer extension, which does a lot more than edit models.

Support for multiple Ergo files

Currently, the plugin only loads a single Ergo file at a time which means it will not work properly on multiple ergo files that reference each other.

Syntax highlighting for type definitions

The syntax highlighting does not understand type declarations inside Ergo. e.g.,:

define concept Person { name : String }
define transaction Payment { amount : Double }

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.