Skip to content

Pivot to being a focused DSL#5

Open
Jengamon wants to merge 2 commits into
trunkfrom
dsl
Open

Pivot to being a focused DSL#5
Jengamon wants to merge 2 commits into
trunkfrom
dsl

Conversation

@Jengamon

@Jengamon Jengamon commented Sep 30, 2024

Copy link
Copy Markdown
Owner

As mentioned in #4, we are no longer focusing on being a complete Scheme implementation, but taking advantage of the Lisp structure to simply be a DSL for writing abilities and thus only focusing on the necessary features for that use case:

  • declare abilities
    • static
    • triggered
    • activated
    • spell
  • shared utilities
    • card filter spec
    • trigger conditions

I'd want to figure out how the API starts before committing to how it should operate.

This does mean we will rip out all interpreters in this repo (as we no longer execute anything...)

But that does mean we can move any structure dealing with abilities and how they are handled to this crate, which Magicflute being responsible for maintaining runtime representations for and executing the abilities described.

I'll leave the pre-dsl code in a separate branch b/c I might figure out and want to build out a full Scheme implementation in the future...

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