Skip to content

Commit a445a46

Browse files
committed
Squashed 'packages/JuliaInterpreter/' content from commit cc89e74
git-subtree-dir: packages/JuliaInterpreter git-subtree-split: cc89e748519e4a7d0898adbfc9cdb3278179d8b3
0 parents  commit a445a46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+10261
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/Manifest.toml linguist-generated=true

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "monthly"

.github/workflows/CI.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
tags: '*'
8+
jobs:
9+
test:
10+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
11+
runs-on: ${{ matrix.os }}
12+
timeout-minutes: 30
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- version: '1' # current stable
18+
os: ubuntu-latest
19+
arch: x64
20+
- version: '1.10' # lowest version supported
21+
os: ubuntu-latest
22+
arch: x64
23+
- version: '1.12-nightly' # next release
24+
os: ubuntu-latest
25+
arch: x64
26+
- version: 'nightly' # dev
27+
os: ubuntu-latest
28+
arch: x64
29+
#- version: '1' # x86 ubuntu -- disabled since PyCall/conda is broken on this platform
30+
# os: ubuntu-latest
31+
# arch: x86
32+
- version: '1' # x86 windows
33+
os: windows-latest
34+
arch: x86
35+
- version: '1' # x64 windows
36+
os: windows-latest
37+
arch: x64
38+
- version: '1' # x64 macOS
39+
os: macos-latest
40+
arch: x64
41+
env:
42+
PYTHON: ""
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: julia-actions/setup-julia@v2
46+
with:
47+
version: ${{ matrix.version }}
48+
arch: ${{ matrix.arch }}
49+
- uses: actions/cache@v4
50+
env:
51+
cache-name: cache-artifacts
52+
with:
53+
path: ~/.julia/artifacts
54+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
55+
restore-keys: |
56+
${{ runner.os }}-test-${{ env.cache-name }}-
57+
${{ runner.os }}-test-
58+
${{ runner.os }}-
59+
- uses: julia-actions/julia-buildpkg@v1
60+
- uses: julia-actions/julia-runtest@v1
61+
- uses: julia-actions/julia-processcoverage@v1
62+
- uses: codecov/codecov-action@v4
63+
with:
64+
file: lcov.info

.github/workflows/Documenter.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Documenter
2+
on:
3+
push:
4+
branches: [master]
5+
tags: [v*]
6+
pull_request:
7+
8+
jobs:
9+
Documenter:
10+
name: Documentation
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 30
13+
steps:
14+
- uses: julia-actions/setup-julia@v2
15+
with:
16+
version: 'lts'
17+
show-versioninfo: true # print versioninfo in the action log
18+
- uses: actions/checkout@v4
19+
- uses: julia-actions/julia-buildpkg@latest
20+
- uses: julia-actions/julia-docdeploy@latest
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/TagBot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: check_builtins
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
tags: '*'
8+
jobs:
9+
test:
10+
name: 'Check builtins.jl consistency'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: julia-actions/setup-julia@v2
15+
with:
16+
version: nightly
17+
arch: x64
18+
- uses: actions/cache@v4
19+
env:
20+
cache-name: cache-artifacts
21+
with:
22+
path: ~/.julia/artifacts
23+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
24+
restore-keys: |
25+
${{ runner.os }}-test-${{ env.cache-name }}-
26+
${{ runner.os }}-test-
27+
${{ runner.os }}-
28+
- run: julia -e 'import Pkg; Pkg.add(["DeepDiffs", "Test"])'
29+
- uses: julia-actions/julia-buildpkg@v1
30+
- run: julia test/check_builtins.jl

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.jl.cov
2+
*.jl.*.cov
3+
*.jl.mem
4+
deps/build.log
5+
docs/build/
6+
test/results.md
7+
Manifest.toml
8+
Manifest-*.toml
9+
!/test/code_coverage/coverage_example.jl.cov

LICENSE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The JuliaInterpreter.jl package is licensed under the MIT "Expat" License:
2+
3+
> Copyright (c) 2017: Keno Fischer.
4+
>
5+
> Permission is hereby granted, free of charge, to any person obtaining a copy
6+
> of this software and associated documentation files (the "Software"), to deal
7+
> in the Software without restriction, including without limitation the rights
8+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
> copies of the Software, and to permit persons to whom the Software is
10+
> furnished to do so, subject to the following conditions:
11+
>
12+
> The above copyright notice and this permission notice shall be included in all
13+
> copies or substantial portions of the Software.
14+
>
15+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
> SOFTWARE.
22+
>

Project.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name = "JuliaInterpreter"
2+
uuid = "aa1ae85d-cabe-5617-a682-6adf51b2e16a"
3+
version = "0.9.38"
4+
5+
[deps]
6+
CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
7+
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
8+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
9+
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
10+
11+
[compat]
12+
CodeTracking = "0.5.9, 1"
13+
julia = "1.10"
14+
15+
[extras]
16+
CassetteOverlay = "d78b62d4-37fa-4a6f-acd8-2f19986eb9ee"
17+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
18+
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
19+
DeepDiffs = "ab62b9b5-e342-54a8-a765-a90f495de1a6"
20+
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
21+
FunctionWrappers = "069b7b12-0de2-55c6-9aab-29f3d0a68a2e"
22+
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
23+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
24+
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
25+
LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
26+
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
27+
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
28+
SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
29+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
30+
Tensors = "48a634ad-e948-5137-8d70-aa71f2a747f4"
31+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
32+
33+
[targets]
34+
test = ["CassetteOverlay", "DataFrames", "Dates", "DeepDiffs", "Distributed", "FunctionWrappers", "HTTP", "LinearAlgebra", "Logging", "LoopVectorization", "Mmap", "PyCall", "SHA", "SparseArrays", "Tensors", "Test"]

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# JuliaInterpreter
2+
3+
*An interpreter for Julia code.*
4+
5+
| **Documentation** | **Build Status** |
6+
|:-------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------:|
7+
| [![][docs-stable-img]][docs-stable-url] | [![][gh-actions-img]][gh-actions-url] [![][codecov-img]][codecov-url] |
8+
9+
## Installation
10+
11+
```jl
12+
]add JuliaInterpreter
13+
```
14+
15+
## Usage
16+
17+
See the [documentation][docs-stable-url].
18+
19+
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
20+
[docs-stable-url]: https://JuliaDebug.github.io/JuliaInterpreter.jl/stable
21+
22+
[gh-actions-img]: https://github.com/JuliaDebug/JuliaInterpreter.jl/actions/workflows/CI.yml/badge.svg
23+
[gh-actions-url]: https://github.com/JuliaDebug/JuliaInterpreter.jl/actions/workflows/CI.yml
24+
25+
[codecov-img]: https://codecov.io/gh/JuliaDebug/JuliaInterpreter.jl/branch/master/graph/badge.svg
26+
[codecov-url]: https://codecov.io/gh/JuliaDebug/JuliaInterpreter.jl

0 commit comments

Comments
 (0)