Skip to content
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

[WIP] Repl rework #12

Closed
wants to merge 2 commits into from
Closed

[WIP] Repl rework #12

wants to merge 2 commits into from

Conversation

emilypi
Copy link
Member

@emilypi emilypi commented Aug 18, 2023

Draft until it's done

  • Rework modules into Types.hs
  • Split out utils from datatypes
  • Split out commands into clear actions

, _replLoaded :: Loaded b SpanInfo
, _replPactDb :: PactDb b SpanInfo
, _replGas :: IORef Gas
, _replEvalLog :: IORef (Maybe [(Text, Gas)])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing replCurrSource which is needed for the load native.

pact-core doesn't take slices of the original source text into the tree, so we need a way to point to it when we use load.

@jmcardon
Copy link
Member

I think for the repl it might make sense to unify ReplEvalM with ReplM. I can PR onto your PR once I free up a bit

@emilypi
Copy link
Member Author

emilypi commented Feb 1, 2024

Closing due to stale

@emilypi emilypi closed this Feb 1, 2024
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