Skip to content

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.

2 participants