rawlins / lambda-notebook Goto Github PK
View Code? Open in Web Editor NEWLambda Notebook: Formal Semantics in Jupyter
License: BSD 3-Clause "New" or "Revised" License
Lambda Notebook: Formal Semantics in Jupyter
License: BSD 3-Clause "New" or "Revised" License
VSCode seems to have broken rendering for both latex within HTML and latex within markdown. This affects rendering of trees and formula derivations. See the following issues:
The situation doesn't look super promising (the main issue has autoclosed) so I have put in a quick error in 2dbe90b so that the user has some idea what's going on. This is really an upstream issue, but it's useful to have an issue here in case people come looking.
Unclear right now if there's any hope of workarounds along the lines of the colab solution. The main idea that comes to mind is to try to find a way to run MathJax(?) manually in HTML outputs, but I don't even know where to begin on this in VSCode.
I have no experience with this right now (and little access to windows), any feedback would be extremely welcome. Should go like this:
python lambda_notebook.py
in command prompt in that directory is my best guess.bat
version of the mac command file?Error messages should generally be better, this issue is for putting down ideas about this.
Long-term goal: convert every paper I've written to a lambda notebook fragment.
Solicit fragments from anyone who might be interested.
try again
Right now, identical denotations are kept as separate composition paths, leading to a combinatorial problem. These should be merged into a single composite that remembers what paths led to it.
Secondary issue: this would work even better with a normal form for the PL subset of the metalanguage.
Need to enhance the syntactic side of TreeCompositionSystem
s so that things like QR can actually be implemented.
testing slack integration
With current Jupyter, html-css is the only installed renderer, and other renderers are quite challenging to install. Unfortunately, it is slow and ugly for a bunch of crucial lambda notebook cases.
Speed issues:
I really appreciate this resource. A request: given that you have set types and membership as a term constructor, could you add set intersection and union as term constructors too? I have no idea how hard that would be, but ideally you'd also have reductions so that e.g. {x, y} U {z} would reduce to {x, y, z}.
We often want to be able to write something like the following in a %%lamb block (Lucas Champollion):
||a sandwich|| = Lx_e: sandwich(x)
||a_sandwich|| = Lx_e: sandwich(x)
That the second doesn't work is just a bug, underscore is being parsed wrong. The first should probably try to find a usable variable name based on the item name.
Secondary issue: Item.name isn't settable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.