Git Product home page Git Product logo

duperdemo's Introduction

DuperDemo

This is a sample project that imports both Duper and Mathlib so that users can easily experiment with Duper. Once the project is built, DuperDemo.lean provides examples of Duper in use.

Building/Installation

With the command line

With elan installed, the following commands should clone and build this project.

git clone https://github.com/JOSHCLUNE/DuperDemo.git
cd DuperDemo
lake exe cache get
lake build

Once lake build completes, you should be able to type code . to launch VS Code and look at the examples in DuperDemo.lean.

Note that on some versions of Windows, the build may fail with a 'too many exported symbols' error. If that happens, you can try building with VS Code instead.

With VS Code

To build this project with VS Code directly, first make sure that the Lean 4 VS Code extension is installed and enabled. Then, on the VS Code welcome page, choose "Clone Git repository" and paste this url. If you do not see "Clone Git repository" on the welcome page, you can also use Ctrl-Shift-P or Command-Shift-P to open the VS Code command palette and enter the command "Git: Clone".

After this project has been cloned, navigate to the project's root directory (the directory that contains this README.md file) and run lake exe cache get. Once this command is done running, open DuperDemo.lean in VS Code.

After you open DuperDemo.lean, you will likely see a variety of prompts, potentially asking you to install Lean, rebuild imports, or restart the Lean server. Click the blue buttons on each of them and VS Code will build this project. Note that the first time this project is opened, it may take a couple of minutes to build, though the process should proceed much more quickly after it has successfully been built once.

duperdemo's People

Contributors

joshclune avatar dwrensha 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.