Create Julia project

This commit is contained in:
2025-11-29 21:03:25 +01:00
parent b7483c4a69
commit a7a25f4017
4 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
# This file is machine-generated - editing it directly is not advised
julia_version = "1.12.2"
manifest_format = "2.0"
project_hash = "bc4e88dcfafc632884570e898ed38ac3d97002d0"
[[deps.Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
version = "1.11.0"
[[deps.CompilerSupportLibraries_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
version = "1.3.0+1"
[[deps.Julia]]
path = "."
uuid = "7676a5c4-5653-4eab-9a84-5b929066060d"
version = "0.1.0"
[[deps.Libdl]]
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
version = "1.11.0"
[[deps.LinearAlgebra]]
deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"]
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
version = "1.12.0"
[[deps.OpenBLAS_jll]]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
version = "0.3.29+0"
[[deps.Statistics]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "ae3bb1eb3bba077cd276bc5cfc337cc65c3075c0"
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version = "1.11.1"
[deps.Statistics.extensions]
SparseArraysExt = ["SparseArrays"]
[deps.Statistics.weakdeps]
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
[[deps.libblastrampoline_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
version = "5.15.0+0"

View File

@@ -0,0 +1,10 @@
name = "Julia"
uuid = "7676a5c4-5653-4eab-9a84-5b929066060d"
version = "0.1.0"
authors = ["david <david@elnota.space>"]
[deps]
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[compat]
Statistics = "1.11.1"

View File

@@ -0,0 +1,5 @@
module Julia
greet() = print("Hello World!")
end # module Julia

View File

@@ -0,0 +1,32 @@
#!/usr/bin/env -S julia --project
module AdventOfCodeDayXX
function parse_part1(filename::String)
for line in eachline(filename)
end
end
function part1(filename::String)
input = parse_part1(filename)
end
function parse_part2(filename::String)
parse_part1(filename)
end
function part2(filename::String)
input = parse_part1(filename)
end
function main()
@show part1("demo.txt")
@show part1("input.txt")
@show part2("demo.txt")
@show part2("input.txt")
end
function __init__()
if abspath(PROGRAM_FILE) == @__FILE__
main()
end
end
end