Skip to content

Commit

Permalink
add a TOML standard library to Julia
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Aug 13, 2020
1 parent 03e1a89 commit 4160db2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ let
:SuiteSparse,
:Distributed,
:SharedArrays,
:TOML,
:Pkg,
:Test,
:REPL,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5ddecd3ee4f295dd5b1fed5ce60d5c5d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d46a9fa59d275c48e9120c0a07a5f068bf9e9ef120bff6667f8b8905abd1bca0b725bc250c48c9bcba77f0f68cf6dfdb6fe4649175914b38c4c94402884f4f89
2 changes: 2 additions & 0 deletions stdlib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
/Pkg
/Statistics-*
/Statistics
/TOML-*
/TOML
4 changes: 3 additions & 1 deletion stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ STDLIBS = Base64 CRC32c Dates DelimitedFiles Distributed FileWatching \
Future InteractiveUtils Libdl LibGit2 LinearAlgebra Logging \
Markdown Mmap Printf Profile Random REPL Serialization SHA \
SharedArrays Sockets SparseArrays SuiteSparse Test Unicode UUIDs
STDLIBS_EXT = Pkg Statistics
STDLIBS_EXT = Pkg Statistics TOML
PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
STATISTICS_GIT_URL := git://github.com/JuliaLang/Statistics.jl.git
STATISTICS_TAR_URL = https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/$1
TOML_GIT_URL := git://github.com/KristofferC/TOML.jl.git
TOML_TAR_URL = https://api.github.com/repos/KristofferC/TOML.jl/tarball/$1

$(foreach module, $(STDLIBS_EXT), $(eval $(call stdlib-external,$(module),$(shell echo $(module) | tr a-z A-Z))))

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
TOML_BRANCH = master
TOML_SHA1 = 2fd4e3eaa8bbb6b19dbd18822e75946a31bbf86c
2 changes: 1 addition & 1 deletion test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ try
:Future, :Libdl, :LinearAlgebra, :Logging, :Mmap, :Printf,
:Profile, :Random, :Serialization, :SharedArrays, :SparseArrays, :SuiteSparse, :Test,
:Unicode, :REPL, :InteractiveUtils, :Pkg, :LibGit2, :SHA, :UUIDs, :Sockets,
:Statistics, ]),
:Statistics, TOML]),
# Plus precompilation module generated at build time
let id = Base.PkgId("__PackagePrecompilationStatementModule")
Dict(id => Base.module_build_id(Base.root_module(id)))
Expand Down

0 comments on commit 4160db2

Please sign in to comment.