forked from compleathorseplayer/Neptune.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pluto.jl
65 lines (50 loc) · 1.54 KB
/
Pluto.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
"""
Start a notebook server using:
```julia
julia> Pluto.run()
```
Have a look at the FAQ:
https://github.com/fonsp/Pluto.jl/wiki
"""
module Pluto
import Pkg
project_relative_path(xs...) = normpath(joinpath(dirname(dirname(pathof(Pluto))), xs...))
const PLUTO_VERSION = VersionNumber(Pkg.TOML.parsefile(project_relative_path("Project.toml"))["version"])
const PLUTO_VERSION_STR = 'v' * string(PLUTO_VERSION)
const JULIA_VERSION_STR = 'v' * string(VERSION)
include("./Configuration.jl")
include("./evaluation/Tokens.jl")
include("./runner/PlutoRunner.jl")
# import .PlutoRunner
# @eval Main begin
# PlutoRunner = $(PlutoRunner)
# end
include("./analysis/ExpressionExplorer.jl")
include("./analysis/ReactiveNode.jl")
include("./notebook/PathHelpers.jl")
include("./notebook/Cell.jl")
include("./notebook/Notebook.jl")
include("./webserver/Session.jl")
include("./webserver/PutUpdates.jl")
include("./analysis/Errors.jl")
include("./analysis/Parse.jl")
include("./analysis/Topology.jl")
include("./evaluation/WorkspaceManager.jl")
include("./evaluation/Update.jl")
include("./evaluation/Run.jl")
include("./webserver/MsgPack.jl")
include("./webserver/SessionActions.jl")
include("./webserver/Static.jl")
include("./webserver/Dynamic.jl")
include("./webserver/REPLTools.jl")
include("./webserver/WebServer.jl")
if get(ENV, "JULIA_PLUTO_SHOW_BANNER", "1") !== "0"
@info """\n
Welcome to Pluto $(PLUTO_VERSION_STR) 🎈
Start a notebook server using:
julia> Pluto.run()
Have a look at the FAQ:
https://github.com/fonsp/Pluto.jl/wiki
\n"""
end
end