Coder Social home page Coder Social logo

elpi-lang's People

Contributors

dependabot[bot] avatar gares avatar jwintz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elpi-lang's Issues

wish: less fields in ui

I think it would be cleaner to have a watch mode without the fields to pass options, and a run mode with options but no watch buttons

goals not displayed

I've a trace where goals are "undefined",
Screenshot from 2023-01-19 15-03-30
trace.zip

But actually, I believe the trace is not special, since even trivial examples have the same bug. Hence I suspect it is related to my setup. This is VSCode

Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:57:40.428Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-56-generic snap
Sandboxed: No

CC @jwintz

Slow browsing

Loading this trace (vscode 1.72) takes forever. In particular a few seconds before the UI shows the card, then a few second before each card shows up its goal text. The third card text is "Cut", and it still takes time for it to appear.

If I had to point the finger, it would be syntax highlighting code. Is there an easy way to disable it, so that I can validate or refuse this thesis?

trace-qui-rame.js.gz

CC @jwintz

Scrollbar hidden behind bottom and top bar

Whenever I have to debug a program failing at some point without an error, I like to scroll to the bottom of the goal list, to see what the last goal it attempted was. However, the scrollbar starts hidden behind the top and bottom bar, the navigation history bar and the goal filter bar. In the picture below I scrolled up a bit from the bottom such that you can see where the scroll bar is.
image
To scroll quickly I drag the scroll bar to the bottom but I can't as long it is hidden. Thus I have to scroll manually till I see the scroll bar. When I have a lot of goals that sometimes takes a bit.

Candidate branch for release v0.2.0

The trace visualisation and navigation has been merged into a candidate branch for the next release.

Before requesting a merge into master, subsequent developments will happen here.

This issue will help track issues and tasks remaining when archiving the proof of concept original repository.

NOTE: Syntax highlighting tested and working fine with no regression.

Issues

  • hopTo: When watching for a generated trace, whenever the transitional file changes, the trace is updated, which includes file locations, of course. If the elpi source file from which the trace originates is not the current buffer in VSCode, file location links do not work.
    • Add safe guards at the least
    • Either the trace keeps tracks of the original elpi/elpi-coq source file
    • Either assumptions should be made
      • ?
      • ?

TODO

  • Code fragments syntax coloring - best option seems to use shiki and link vs code variables in shiki's css-variables them, believe it or not, vscode provides no API over its syntax highlighting engine.
    • Format *_text exhaustively
  • Propose a design or heurstics so that LHS & RHS folding for subcards gets intuitive and (semi ?) automatic
    • Link toggles between LHS, RHS
  • Design the settings for this extension
    • Investigate the link with ocaml-platform VSCode extension Doesn't build at the moment of writing
    • Settings contribution point: declare and retrieve
    • Binaries location
      • elpi
      • elpi-trace-elaborator
  • M$ Windows compatibility & testing, use node process piping for that
  • Illustrate README.md with screenshots and screencasts
  • Publication facility

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.