Skip to content

Commit

Permalink
Update PlutoRunner.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Aug 20, 2024
1 parent 4be6c05 commit 7eb8d85
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions src/runner/PlutoRunner/src/PlutoRunner.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
module PlutoRunner

export @bind

# import these two so that they can be imported from Main on the worker process if it launches without the stdlibs in its LOAD_PATH
import Markdown
import InteractiveUtils


# shared things between files:
using UUIDs

export @bind

const ObjectID = typeof(objectid("hello computer"))

Expand Down Expand Up @@ -33,17 +37,14 @@ const cell_published_objects = Dict{UUID,Dict{String,Any}}()
const cell_registered_bond_names = Dict{UUID,Set{Symbol}}()
const cell_expanded_exprs = Dict{UUID,CachedMacroExpansion}()



###
# WORKSPACE MANAGER
###

"""
`PlutoRunner.notebook_id[]` gives you the notebook ID used to identify a session.
"""
const notebook_id = Ref{UUID}(UUID(0))




include("./evaluation/workspace.jl")
include("./evaluation/return.jl")
include("./evaluation/macro.jl")
Expand All @@ -53,14 +54,9 @@ include("./evaluation/deleting globals.jl")


include("./display/format_output.jl")


include("./display/IOContext.jl")

include("./display/syntax error.jl")
include("./display/Exception.jl")


include("./display/mime dance.jl")
include("./display/tree viewer.jl")

Expand Down

0 comments on commit 7eb8d85

Please sign in to comment.