Skip to main content

Jupyter Kernel for ACL2

Project description

acl2-kernel PyPI Binder

Jupyter Kernel for ACL2

What is Jupyter and ACL2?

Project Jupyter exists to develop open-source software, open-standards, and services for interactive computing across dozens of programming languages. (https://jupyter.org/)

ACL2 is a logic and programming language in which you can model computer systems, together with a tool to help you prove properties of those models. "ACL2" denotes "A Computational Logic for Applicative Common Lisp". (http://www.cs.utexas.edu/users/moore/acl2/)

Usage

We follow to the standard jupyter kernel installation. So, you will install the kernel by pip command, and will call the installation command like,

$ pip3 install jupyter acl2-kernel
$ python3 -m acl2_kernel.install
$ jupyter notebook

You also can see the deep usage by python3 -m acl2_kernel.install --help.

Docker

In some case, you might want to run the kernel in the Docker containers. This repository contains Dockerfile example. You can build example image by the following command.

$ docker build . -t acl2

To run the container, you would type the command like

$ docker run --rm -p 8888:8888 acl2 jupyter notebook --ip='0.0.0.0'

A running example is available in the example/ directory. You can try it on Binder.

Building from source

Install Poetry and in the root directory, do

$ poetry build
$ pip3 install dist/acl2-kernel-<version>.tar.gz
$ python3 -m acl2_kernel.install --acl2 <path-to-acl2-binary>

Related Projects

  • Jupyter - Softwares for interactive computing
  • ACL2 - Theorem prover based on Common Lisp

License

This project is released under the BSD 3-clause license.

Copyright (c) 2020, TANIGUCHI Masaya All rights reserved.

We borrow code from the following projects.

  • Egison Kernel; Copyright (c) 2017, Satoshi Egi and contributors All rights reserved.
  • Bash Kernel; Copyright (c) 2015, Thomas Kluyver and contributors All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acl2-kernel-0.3.1.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

acl2_kernel-0.3.1-py3-none-any.whl (6.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page