From 495bbb8464b24d1b6511a456006ab24266549a68 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Sat, 18 Oct 2025 22:23:51 -0500 Subject: [PATCH] Update website --- content/_index.md | 7 +- content/downloads/_index.md | 2 +- content/downloads/linux.md | 34 ------- content/downloads/linux/_index.md | 15 ++++ content/downloads/linux/ubuntu.md | 32 +++++++ content/downloads/windows.md | 2 +- static/schema/cross-json-schema.json | 128 +++++++++++++++++++++++++++ 7 files changed, 183 insertions(+), 37 deletions(-) delete mode 100644 content/downloads/linux.md create mode 100644 content/downloads/linux/_index.md create mode 100644 content/downloads/linux/ubuntu.md create mode 100644 static/schema/cross-json-schema.json diff --git a/content/_index.md b/content/_index.md index 82ebc4c..e5d3c67 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,13 +2,18 @@ title = "CrossLang" type = "home" +++ +> Rest in Peace Charlie Kirk (He died too soon) My dynamic programming language -- [Try It In Browser](https://crosslang.tesseslanguage.com/try-crosslang/) +- [Try It In Browser (Old version)](https://crosslang.tesseslanguage.com/try-crosslang/) +``` +For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. (John 3.16) +``` + ``` Ye are of God, little children, and have overcome them: because greater is he that is in you, than he that is in the world. (1 John 4:4) ``` diff --git a/content/downloads/_index.md b/content/downloads/_index.md index dd70461..043e8bb 100644 --- a/content/downloads/_index.md +++ b/content/downloads/_index.md @@ -4,6 +4,6 @@ type = "chapter" weight = 1 +++ +- [Linux](linux) - [Windows](windows.md) -- [Linux](linux.md) - [Shell Binary](https://downloads.tesses.net/ShellPackage.crvm) \ No newline at end of file diff --git a/content/downloads/linux.md b/content/downloads/linux.md deleted file mode 100644 index 61153dd..0000000 --- a/content/downloads/linux.md +++ /dev/null @@ -1,34 +0,0 @@ -+++ -title = 'Linux Downloads' -date = 2025-08-31T22:09:31-05:00 -+++ - -# Install using package manager -Ubuntu 22:04 or later, and doesn't work on debian trixie (or maybe earlier) or later due to mbedtls - -## Install Repository -````bash -sudo curl https://git.tesseslanguage.com/api/packages/tesses50/debian/repository.key -o /etc/apt/keyrings/gitea-tesses50.asc -echo "deb [signed-by=/etc/apt/keyrings/gitea-tesses50.asc] https://git.tesseslanguage.com/api/packages/tesses50/debian jammy main" | sudo tee -a /etc/apt/sources.list.d/gitea.list -sudo apt update -```` - -## Install the language -````bash -sudo apt install crosslang -```` - -## Or the IDE -The IDE can also be downloaded from [here](https://dl.tesseslanguage.com/CrossLangDevStudio-x86_64.tar.gz), make sure that crosslang is in your path though -````bash -sudo apt install crosslang-devstudio # FOR IDE as well -```` - - -# Or you can Download as tarball -[x86_64](https://dl.tesseslanguage.com/crosslang-x86_64.tar.gz) - - - -# Or use this docker container -```onedev.site.tesses.net/crosslang/crosslangextras/crosslangextras:latest``` (no IDE though) \ No newline at end of file diff --git a/content/downloads/linux/_index.md b/content/downloads/linux/_index.md new file mode 100644 index 0000000..961f12e --- /dev/null +++ b/content/downloads/linux/_index.md @@ -0,0 +1,15 @@ ++++ +title = 'Linux' +date = 2025-09-24T20:19:48-05:00 ++++ + +# Package Managers +- [Ubuntu](ubuntu.md) + +# Tarballs +- [x86_64](https://dl.tesseslanguage.com/crosslang-x86_64.tar.gz) + + + +# Containers +- CLI x86_64 ```onedev.site.tesses.net/crosslang/crosslangextras/crosslangextras:latest``` (no IDE though) \ No newline at end of file diff --git a/content/downloads/linux/ubuntu.md b/content/downloads/linux/ubuntu.md new file mode 100644 index 0000000..09d5d81 --- /dev/null +++ b/content/downloads/linux/ubuntu.md @@ -0,0 +1,32 @@ ++++ +title = 'Ubuntu' +date = 2025-09-24T20:29:28-05:00 ++++ + +This requires Ubuntu 22:04 or later. + +## Install the repository (For Ubuntu jammy - oracular) +````bash +sudo curl https://git.tesseslanguage.com/api/packages/tesses50/debian/repository.key -o /etc/apt/keyrings/gitea-tesses50.asc +echo "deb [signed-by=/etc/apt/keyrings/gitea-tesses50.asc] https://git.tesseslanguage.com/api/packages/tesses50/debian jammy main" | sudo tee -a /etc/apt/sources.list.d/gitea.list +sudo apt update +```` + + +## Install the repository (For Ubuntu plucky or later) +````bash +sudo curl https://git.tesseslanguage.com/api/packages/tesses50/debian/repository.key -o /etc/apt/keyrings/gitea-tesses50.asc +echo "deb [signed-by=/etc/apt/keyrings/gitea-tesses50.asc] https://git.tesseslanguage.com/api/packages/tesses50/debian plucky main" | sudo tee -a /etc/apt/sources.list.d/gitea.list +sudo apt update +```` + + +## Install the language (also installs tesses-framework) +````bash +sudo apt install crosslang +```` + +## Or the IDE +````bash +sudo apt install crosslang-devstudio # FOR IDE as well +```` \ No newline at end of file diff --git a/content/downloads/windows.md b/content/downloads/windows.md index 9f944b3..ea5fe47 100644 --- a/content/downloads/windows.md +++ b/content/downloads/windows.md @@ -1,5 +1,5 @@ +++ -title = 'Windows Downloads' +title = 'Windows' date = 2025-08-31T22:09:58-05:00 +++ diff --git a/static/schema/cross-json-schema.json b/static/schema/cross-json-schema.json new file mode 100644 index 0000000..0e8c187 --- /dev/null +++ b/static/schema/cross-json-schema.json @@ -0,0 +1,128 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema", + "$id": "https://crosslang.tesseslanguage.com/schema/cross-json-schema.json", + "title": "CrossLang Project File", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "info": { + "type": "object", + "properties": { + "type": { + "type": "string", + "examples": ["console","lib","webapp","template","compile_tool","tool"] + }, + "plugin_host": { + "type": "string" + }, + "maintainer": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "license": { + "type": "string" + }, + "description": { + "type": "string" + }, + "executable_name": { + "type": "string" + }, + "executable_can_be_renamed": { + "type": "string" + }, + "executable_runtime": { + "type": "string" + }, + "template_ignored_files": { + "type": "array", + "items": { + "type": "string" + } + }, + "template_info": { + "type": "object", + "properties": { + "type": { + "type": "string", + "examples": ["console","lib","webapp","template","compile_tool","tool"] + }, + "plugin_host": { + "type": "string" + }, + "maintainer": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "homepage": { + "type": "string" + }, + "license": { + "type": "string" + }, + "description": { + "type": "string" + }, + "executable_name": { + "type": "string" + }, + "executable_can_be_renamed": { + "type": "string" + }, + "executable_runtime": { + "type": "string" + } + }, + "required": ["type"] + } + }, + "required": ["type"] + }, + "resource_directory": { + "type": "string" + }, + "source_directory": { + "type": "string" + }, + "bin_directory": { + "type": "string" + }, + "obj_directory": { + "type": "string" + }, + "project_dependencies": { + "type": "array", + "items": {"type":"string"} + }, + "dependencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": ["name","version"] + } + } + }, + "required": ["name","version","info"] +} \ No newline at end of file