Skip to content

Commit

Permalink
Push new version files.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyxal-bot[bot] authored and github-actions[bot] committed Nov 22, 2023
1 parent 915ce2c commit 21470d0
Show file tree
Hide file tree
Showing 24 changed files with 142,334 additions and 1 deletion.
40 changes: 40 additions & 0 deletions v3.0.0/.github/workflows/deploy-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Pages
uses: actions/configure-pages@v2

- name: Upload built HTML
uses: actions/upload-pages-artifact@v1
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
6 changes: 6 additions & 0 deletions v3.0.0/.metals/metals.lock.db
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#FileLock
#Mon Oct 30 23:45:46 AEDT 2023
server=localhost\:64687
hostName=localhost
method=file
id=18b809e64d4d64f8b4e02ca0798664b07885d076cf5
16 changes: 16 additions & 0 deletions v3.0.0/.metals/metals.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
2023.10.30 23:45:45 INFO Started: Metals version 1.1.0 in folders 'C:\Users\jonat\Documents\Uni Code\vyxal.github.io' for client Visual Studio Code - Insiders 1.84.0-insider.
2023.10.30 23:45:46 WARN Build server is not auto-connectable.
2023.10.30 23:45:46 WARN no build tool detected in workspace 'C:\Users\jonat\Documents\Uni Code\vyxal.github.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt.
2023.10.30 23:45:46 WARN no build target for: C:\Users\jonat\Documents\Vyxal\js\src\vyxal\Dictionary.scala
2023.10.30 23:45:46 WARN no build target for: C:\Users\jonat\Documents\Vyxal\js\src\vyxal\JSVyxal.scala
2023.10.30 23:45:51 INFO no build target found for C:\Users\jonat\Documents\Vyxal\js\src\vyxal\Dictionary.scala. Using presentation compiler with project's scala-library version: 3.3.1
2023.10.30 23:45:54 INFO time: code lens generation in 7.21s
2023.10.30 23:49:13 INFO Shutting down server
2023.10.30 23:49:13 INFO shutting down Metals
2023.10.30 23:49:13 INFO Exiting server
2023.11.09 10:36:19 INFO Started: Metals version 1.1.0 in folders 'C:\Users\jonat\Documents\Uni Code\vyxal.github.io' for client Visual Studio Code - Insiders 1.85.0-insider.
2023.11.09 10:36:24 WARN Build server is not auto-connectable.
2023.11.09 10:36:24 WARN no build tool detected in workspace 'C:\Users\jonat\Documents\Uni Code\vyxal.github.io'. The most common cause for this problem is that the editor was opened in the wrong working directory, for example if you use sbt then the workspace directory should contain build.sbt.
2023.11.09 23:14:11 INFO Shutting down server
2023.11.09 23:14:11 INFO shutting down Metals
2023.11.09 23:14:11 INFO Exiting server
Binary file added v3.0.0/.metals/metals.mv.db
Binary file not shown.
3 changes: 3 additions & 0 deletions v3.0.0/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
}
5 changes: 5 additions & 0 deletions v3.0.0/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.watcherExclude": {
"**/target": true
}
}
Empty file added v3.0.0/codepage_descriptions.js
Empty file.
4,750 changes: 4,750 additions & 0 deletions v3.0.0/helpText.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions v3.0.0/helpText.js.map

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions v3.0.0/incompatible_versions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
The incompatible version matrix determines if a permalink needs to redirect
to a versioned permalink. A permalink needs to redirect if the current version
has breaking changes. The matrix's keys represent the version of the permalink.
The values represent the maximum version that the permalink is compatible with.
*/

// An asterisk means that the permalink is compatible with all versions so far.

const incompatMatrix = {
"3.0.0": "*"
}

function comesAfter(target, current) {
return current.localeCompare(target, undefined, { numeric: true, sensitivity: 'base' }) >= 0
}

export function incomptabile(target, current) {
return incompatMatrix[target] != "*" && comesAfter(incompatMatrix[target], current)
}
141 changes: 141 additions & 0 deletions v3.0.0/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="Permissions-Policy" content="interest-cohort=()" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>Vyxal 3 Interpreter</title>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css"
integrity="sha512-EZLkOqwILORob+p0BXZc+Vm3RgJBOe1Iq/0fiI7r/wJgzOFZMlsqTa29UEl6v6U6gsV4uIpsNZoV32YZqrCRCQ=="
crossorigin="anonymous" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap" rel="stylesheet">
<script defer src="https://kit.fontawesome.com/646af2e33b.js" crossorigin="anonymous"></script>
<link rel="shortcut icon" type="image/jpg"
href="https://raw.githubusercontent.com/Vyxal/Vyxal/master/templates/favicon.ico">

<script defer src='https://cdn.jsdelivr.net/npm/[email protected]/lib/codemirror.min.js'></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/codemirror.min.css">

<script defer src="https://vyxal.github.io/Vylight/mode-vyxal.js"></script>

<script defer src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script defer src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<script defer src="https://unpkg.com/[email protected]/dist/htm.umd.js"></script>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script defer src="https://unpkg.com/react-popper/dist/index.umd.js"></script>
<script defer src="https://unpkg.com/[email protected]"></script>

<script type="importmap">
{
"imports": {
"os": "./os.module.js"
}
}
</script>
<script>
var selectedBox = "code";
var resizeCodeBox;
var updateCount;
function setBox(box) {
selectedBox = box;
}

function setFunctions() {
resizeCodeBox = window.resizeCodeBox;
updateCount = window.updateCount;
copyToClipboard = window.copyToClipboard;
}
</script>
<script src="./main.js" type="module" onload="setFunctions()" defer></script>
<script src="./parsed_yaml.js" defer></script>
<script src="keyboard.js" type="module" defer></script>
<link rel="stylesheet" type="text/css" href="./style.css">
</head>

<body>
<textarea id=dummy style="visibility: hidden;position:absolute; height: 0px; font: size 20px;"></textarea>
<h2 style="display: inline-block;"><a href="https://github.com/Vyxal/Vyxal/tree/version-3" target="_blank">Vyxal 3</a>
</h2>
<button id="run_button" title="Run Program" type="button" onclick="this.blur()">
<i class="fas fa-play-circle"></i>
</button>

<button id="permalink" title="Generate Permalink" type="button"
onclick="shareOptions('permalink'); resizeCodeBox('output')">
<i class="fas fa-link"></i>
</button>

<button id="post-template" title="Generate Code Golf Submission" type="button"
onclick="shareOptions('post-template'); resizeCodeBox('output')">
<i class="fas fa-medal"></i>
</button>

<button id="markdown" title="Generate Inline Markdown" type="button"
onclick="shareOptions('markdown'); resizeCodeBox('output')">
<i class="fab fa-markdown"></i>
</button>

<button id="cmc" title="Generate CMC Markdown" type="button" onclick="shareOptions('cmc'); resizeCodeBox('output')">
<i class="fas fa-comment"></i>
</button>

<button id="sbcsify" title="Turn Literate into SBCS" type="button"
onclick="output.value = Vyxal.getSBCSified(e_code.doc.getValue()); resizeCodeBox('output'); expandBoxes()">
<i class="fas fa-code"></i>
</button>

<button id="clear" title="Clear all fields">
<i class="fas fa-redo"></i>
</button>

<details id="flag-detail">
<summary>Flags</summary>
<input type="text" name="flags" id="flag" style="min-height: 2em;" oninput="updateCount()">
</details>

<details>
<summary>Keyboard</summary>
<div id="keyboard-root"></div>
</details>

<details onclick="setBox('header')" id="header-detail">
<summary>Header</summary>
<textarea id="header" name="header" oninput="resizeCodeBox('header')"></textarea>
</details>

<details onclick="setBox('code')" open id="code-detail">
<summary id="code-count">Code: 0 bytes</summary>
<textarea id="code" name="code" oninput="resizeCodeBox('code'); updateCount()" onkeyup="updateCount()"></textarea>
</details>

<details onclick="setBox('footer')" id="footer-detail">
<summary>Footer</summary>
<textarea id="footer" name="footer"></textarea>
</details>

<details open id="inputs-detail">
<summary>Inputs</summary>
<textarea id="inputs" name="inputs" oninput="resizeCodeBox('inputs')"></textarea>
</details>

<details id="output-detail">
<summary style="display: inline-block;">Output</summary>
<button onclick="copyToClipboard('output')" style="height:auto; display: inline-block;" type="button">Click to
copy</button>
<div id="html-rendered-output" hidden>
</div>
<textarea id="output" value="" readonly></textarea>
</details>

<details id="debug-detail">
<summary>Debug</summary>
<textarea value="" id="debug" readonly></textarea>
</details>
</body>

</html>
Loading

0 comments on commit 21470d0

Please sign in to comment.