Skip to content

Commit 91e372b

Browse files
pythonJaRvispythonJaRvis
authored andcommitted
commit
0 parents  commit 91e372b

File tree

6,267 files changed

+1341402
-0
lines changed

Some content is hidden

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

6,267 files changed

+1341402
-0
lines changed

.DS_Store

8 KB
Binary file not shown.

.bundle/config

Whitespace-only changes.

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
**/venv
2+
**/.vscode
3+
**/.idea
4+
**/.history
5+
**/__pycache__
6+
**/backup
7+
**/olddata
8+
/.history
9+
_site
10+
.sass-cache
11+
.jekyll-metadata

404.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: default
3+
---
4+
5+
<style type="text/css" media="screen">
6+
.container {
7+
margin: 10px auto;
8+
max-width: 600px;
9+
text-align: center;
10+
}
11+
h1 {
12+
margin: 30px 0;
13+
font-size: 4em;
14+
line-height: 1;
15+
letter-spacing: -1px;
16+
}
17+
</style>
18+
19+
<div class="container">
20+
<h1>404</h1>
21+
22+
<p><strong>Page not found :(</strong></p>
23+
<p>The requested page could not be found.</p>
24+
</div>

Gemfile

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
source "https://rubygems.org"
2+
3+
# Hello! This is where you manage which Jekyll version is used to run.
4+
# When you want to use a different version, change it below, save the
5+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6+
#
7+
# bundle exec jekyll serve
8+
#
9+
# This will help ensure the proper Jekyll version is running.
10+
# Happy Jekylling!
11+
gem "jekyll", "~> 3.9.3"
12+
13+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14+
# gem "minima", "~> 2.0"
15+
gem "jekyll-theme-leap-day", "~> 0.2.0"
16+
17+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
19+
# gem "github-pages", group: :jekyll_plugins
20+
21+
# If you have any plugins, put them here!
22+
group :jekyll_plugins do
23+
gem "jekyll-feed", "~> 0.6"
24+
end
25+
26+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
27+
# and associated library.
28+
# install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
29+
# gem "tzinfo", "~> 1.2"
30+
# gem "tzinfo-data"
31+
# end
32+
33+
platforms :mingw, :x64_mingw, :mswin, :jruby do
34+
gem "tzinfo", ">= 1", "< 3"
35+
gem "tzinfo-data"
36+
end
37+
38+
# Performance-booster for watching directories on Windows
39+
gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform?
40+
41+
# kramdown v2 ships without the gfm parser by default. If you're using
42+
# kramdown v1, comment out this line.
43+
gem "kramdown-parser-gfm"
44+
45+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
46+
# do not have a Java counterpart.
47+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
48+
49+
gem "webrick", "~> 1.8"

Gemfile.lock

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.1)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.0)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.15.5)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.8.0)
15+
i18n (1.12.0)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.9.3)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (>= 0.7, < 2)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (>= 1.17, < 3)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-feed (0.16.0)
31+
jekyll (>= 3.7, < 5.0)
32+
jekyll-sass-converter (1.5.2)
33+
sass (~> 3.4)
34+
jekyll-seo-tag (2.8.0)
35+
jekyll (>= 3.8, < 5.0)
36+
jekyll-theme-leap-day (0.2.0)
37+
jekyll (> 3.5, < 5.0)
38+
jekyll-seo-tag (~> 2.0)
39+
jekyll-watch (2.2.1)
40+
listen (~> 3.0)
41+
kramdown (2.4.0)
42+
rexml
43+
kramdown-parser-gfm (1.1.0)
44+
kramdown (~> 2.0)
45+
liquid (4.0.4)
46+
listen (3.8.0)
47+
rb-fsevent (~> 0.10, >= 0.10.3)
48+
rb-inotify (~> 0.9, >= 0.9.10)
49+
mercenary (0.3.6)
50+
pathutil (0.16.2)
51+
forwardable-extended (~> 2.6)
52+
public_suffix (5.0.1)
53+
rb-fsevent (0.11.2)
54+
rb-inotify (0.10.1)
55+
ffi (~> 1.0)
56+
rexml (3.2.5)
57+
rouge (3.30.0)
58+
safe_yaml (1.0.5)
59+
sass (3.7.4)
60+
sass-listen (~> 4.0.0)
61+
sass-listen (4.0.0)
62+
rb-fsevent (~> 0.9, >= 0.9.4)
63+
rb-inotify (~> 0.9, >= 0.9.7)
64+
thread_safe (0.3.6)
65+
tzinfo (1.2.10)
66+
thread_safe (~> 0.1)
67+
tzinfo-data (1.2022.3)
68+
tzinfo (>= 1.0.0)
69+
wdm (0.1.1)
70+
webrick (1.8.1)
71+
72+
PLATFORMS
73+
arm64-darwin-21
74+
x64-mingw-ucrt
75+
76+
DEPENDENCIES
77+
http_parser.rb (~> 0.6.0)
78+
jekyll (~> 3.9.3)
79+
jekyll-feed (~> 0.6)
80+
jekyll-theme-leap-day (~> 0.2.0)
81+
kramdown-parser-gfm
82+
tzinfo (>= 1, < 3)
83+
tzinfo-data
84+
wdm (~> 0.1.0)
85+
webrick (~> 1.8)
86+
87+
BUNDLED WITH
88+
2.3.21

Jarvis.zip

94.9 KB
Binary file not shown.

Jarvis/.DS_Store

8 KB
Binary file not shown.

Jarvis/formats/__init__.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Copyright (c) 2020 Vitalis Salis.
3+
#
4+
# Licensed to the Apache Software Foundation (ASF) under one
5+
# or more contributor license agreements. See the NOTICE file
6+
# distributed with this work for additional information
7+
# regarding copyright ownership. The ASF licenses this file
8+
# to you under the Apache License, Version 2.0 (the
9+
# "License"); you may not use this file except in compliance
10+
# with the License. You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing,
15+
# software distributed under the License is distributed on an
16+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
# KIND, either express or implied. See the License for the
18+
# specific language governing permissions and limitations
19+
# under the License.
20+
#
21+
from .fasten import Fasten
22+
from .simple import Simple
23+
from .as_graph import AsGraph

Jarvis/formats/as_graph.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#
2+
# Copyright (c) 2021 Vitalis Salis.
3+
#
4+
# Licensed to the Apache Software Foundation (ASF) under one
5+
# or more contributor license agreements. See the NOTICE file
6+
# distributed with this work for additional information
7+
# regarding copyright ownership. The ASF licenses this file
8+
# to you under the Apache License, Version 2.0 (the
9+
# "License"); you may not use this file except in compliance
10+
# with the License. You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing,
15+
# software distributed under the License is distributed on an
16+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
# KIND, either express or implied. See the License for the
18+
# specific language governing permissions and limitations
19+
# under the License.
20+
#
21+
from .base import BaseFormatter
22+
23+
class AsGraph(BaseFormatter):
24+
def __init__(self, cg_generator):
25+
self.cg_generator = cg_generator
26+
27+
def generate(self):
28+
graph = self.cg_generator.get_as_graph()
29+
output = {}
30+
for key, defi in graph:
31+
output[key] = list(defi.get_name_pointer().get().copy())
32+
return output

0 commit comments

Comments
 (0)