In cljs.js/eval-str accept a :context option in support of REPLs

Description

If you modify cljs.js/eval-str* to assoc :context :expr onto aenv (in addition to the existing :ns key) then things like 1 and :a evaluate properly (when implementing a REPL).

This ticket asks for an opts option for :context so that client code can indicate an :expr is being evaluated

Environment

None

Activity

Show:
Completed

Assignee

David Nolen

Reporter

Mike Fikes

Labels

None

Approval

None

Patch

None

Priority

Major