Code Monkey home page Code Monkey logo

tlaplusdocker's Introduction

VSCode Dev Containter for TLA+

What this is

Dependencies

  • Install and run Docker Desktop if you haven't already got it running
  • Install VSCode if necessary, then open a new VSCode editor process
  • Get yourself a GitHub account if you don't already have one and log in
  • At GitHub, fork this repository into your GitHub account (do not skip)

How to get it

  • In VSCode, install the remote development extension if it's not already installed
  • Use the remote-containers "Clone into container" command to clone your fork into our container
  • Click in the lower right if you want to see the container build, which takes maybe 5-10 minutes.

How to start using it

  • Open the test/test.tla file in VSCode.
  • The files you have to start are as at the end of the video tutorial.
  • Change the name of the color variable to colour. Save the file. There should be an error.
  • Fix the error by undoing the change in spelling. Save. All should be well again.
  • Now start the video and follow along, emptying test.tla to synch it with the start of the video.
  • If you want to flag issues or suggest or contribute improvements, please use GitHub issues and send PRs.

Nice features (as you will see in the video)

  • format and preview specifications in LaTeX
  • generate and preview dot/graphviz state machine visualizations
  • automatically reparse .tla files whenever they're saved
  • See the .devcontainer/Dockerfile for what's being set up

To disable auto-parse on file save

  • change setting from true to false in .vscode/settings.json for tlaplus

Regarding bugs and suggested repairs

  • Report issues using the issues tab in this GitHub-hosted repo
  • I welcome pull requests

Contact

Kevin Sullivan Department of Comp. Sci. University of Virginia [email protected]

tlaplusdocker's People

Contributors

kevinsullivan avatar pitype avatar

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.