Skip to content

Commit

Permalink
Clarify what's going on in the sRepl case
Browse files Browse the repository at this point in the history
  • Loading branch information
jcburley committed Dec 30, 2019
1 parent 45725e1 commit 5b7a655
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ func srepl(port string, phase Phase) {
ExitJoker(13)
}

// *in* is a different object than *out* and *err*, though the
// latter two are the same and have the same underlying
// connection. So this replicates what Clojure itself does,
// for the case of a single sRepl during the lifetime of the
// process. But if Joker ever supports more than one sRepl, it
// should use a different set of values for each.
const sreplInHash uint32 = 0x9bdec07f
const sreplOutHash uint32 = 0x72274f55

Expand Down

0 comments on commit 5b7a655

Please sign in to comment.