Skip to content

research: Prolog frontend on Prologos post-elaboration IR#56

Draft
kumavis wants to merge 1 commit into
mainfrom
claude/prolog-ast-propagator-research-oVsBN
Draft

research: Prolog frontend on Prologos post-elaboration IR#56
kumavis wants to merge 1 commit into
mainfrom
claude/prolog-ast-propagator-research-oVsBN

Conversation

@kumavis
Copy link
Copy Markdown
Contributor

@kumavis kumavis commented May 4, 2026

Stage 1 research note categorizing standard Prolog features into
compatible-as-is vs small/medium/large additional work to land them
on Prologos's existing relational IR (expr-defr / expr-clause /
goal-desc) and BSP-LE propagator runtime.

Headline finding: ~95% of Datalog-fragment Prolog and ~70% of ISO-7
Prolog map directly onto existing IR; the residual gap is concentrated
in dynamic features (assert/retract, attributed vars, CHR) which are
paradigm-level mismatches against CALM-monotone propagator semantics
and naturally co-evolve with the PReduce series.

Includes architectural caveats (tabling default, fork-not-stack,
closed goal-kind set), four-stage staging proposal, and open
questions on cut semantics, side-effect ordering, and marketing.

Stage 1 research note categorizing standard Prolog features into
compatible-as-is vs small/medium/large additional work to land them
on Prologos's existing relational IR (expr-defr / expr-clause /
goal-desc) and BSP-LE propagator runtime.

Headline finding: ~95% of Datalog-fragment Prolog and ~70% of ISO-7
Prolog map directly onto existing IR; the residual gap is concentrated
in dynamic features (assert/retract, attributed vars, CHR) which are
paradigm-level mismatches against CALM-monotone propagator semantics
and naturally co-evolve with the PReduce series.

Includes architectural caveats (tabling default, fork-not-stack,
closed goal-kind set), four-stage staging proposal, and open
questions on cut semantics, side-effect ordering, and marketing.
@kumavis kumavis marked this pull request as draft May 7, 2026 06:10
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