Skip to content

Parser experiment1 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Parser experiment1 #15

wants to merge 3 commits into from

Conversation

ratmice
Copy link
Owner

@ratmice ratmice commented Mar 30, 2020

This branch is WIP towards a fairly non-standard syntax for natural deduction,
there is some examples, which augment the traditional natural deduction inference rules with placeholder the syntax, and some proofs in that syntax

It removes the existing AST while working on the parser since its a pain to fiddle with.
Natural deduction is weird, because it's got 'mid-line' which is some n-ary operator, and case expressions, also a n-ary operator.

It should be noted that this is not producing a very usable form of parse tree, hence experiment.

This is an attempt to use the

  • therefore sign ∴,

  • case analysis is done with '▸'.

  • '.' for discharge.

  • adds new tests

  • fix old tests for existing parser.

  • add new ast?

  • produces a nice usable parse tree?

@ratmice ratmice force-pushed the parser-experiment1 branch 6 times, most recently from 066b8a5 to c8a5980 Compare March 30, 2020 11:30
@ratmice ratmice force-pushed the parser-experiment1 branch from c8a5980 to e53c187 Compare April 7, 2020 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant