From 9ebd334fb02fa0ffe225be76bb122f92decb7fc6 Mon Sep 17 00:00:00 2001 From: Parker Mauney Date: Sat, 29 Oct 2022 20:50:16 -0400 Subject: [PATCH 1/3] Rename unmatched demo samples + Remove nix override thing --- demo/kitchen-sink/doclist.js | 1 - demo/kitchen-sink/docs/{fortran.f90 => fortran.f} | 0 demo/kitchen-sink/docs/{Haxe.hx => haxe.hx} | 0 demo/kitchen-sink/docs/{Jack.jack => jack.jack} | 0 demo/kitchen-sink/docs/{Nix.nix => nix.nix} | 0 5 files changed, 1 deletion(-) rename demo/kitchen-sink/docs/{fortran.f90 => fortran.f} (100%) rename demo/kitchen-sink/docs/{Haxe.hx => haxe.hx} (100%) rename demo/kitchen-sink/docs/{Jack.jack => jack.jack} (100%) rename demo/kitchen-sink/docs/{Nix.nix => nix.nix} (100%) diff --git a/demo/kitchen-sink/doclist.js b/demo/kitchen-sink/doclist.js index b5f00b941f5..2ca6a81c468 100644 --- a/demo/kitchen-sink/doclist.js +++ b/demo/kitchen-sink/doclist.js @@ -48,7 +48,6 @@ var docs = { "docs/c9search.c9search_results": "C9 Search Results", "docs/mel.mel": "MEL", - "docs/Nix.nix": "Nix" }; var ownSource = { diff --git a/demo/kitchen-sink/docs/fortran.f90 b/demo/kitchen-sink/docs/fortran.f similarity index 100% rename from demo/kitchen-sink/docs/fortran.f90 rename to demo/kitchen-sink/docs/fortran.f diff --git a/demo/kitchen-sink/docs/Haxe.hx b/demo/kitchen-sink/docs/haxe.hx similarity index 100% rename from demo/kitchen-sink/docs/Haxe.hx rename to demo/kitchen-sink/docs/haxe.hx diff --git a/demo/kitchen-sink/docs/Jack.jack b/demo/kitchen-sink/docs/jack.jack similarity index 100% rename from demo/kitchen-sink/docs/Jack.jack rename to demo/kitchen-sink/docs/jack.jack diff --git a/demo/kitchen-sink/docs/Nix.nix b/demo/kitchen-sink/docs/nix.nix similarity index 100% rename from demo/kitchen-sink/docs/Nix.nix rename to demo/kitchen-sink/docs/nix.nix From b3b16f83a799f23b8d6f104a32074532dc2c21f7 Mon Sep 17 00:00:00 2001 From: Parker Mauney Date: Sat, 29 Oct 2022 20:53:22 -0400 Subject: [PATCH 2/3] Add undeclared impls to modelist --- src/ext/modelist.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ext/modelist.js b/src/ext/modelist.js index 8d0517db3cd..c95bb54937b 100644 --- a/src/ext/modelist.js +++ b/src/ext/modelist.js @@ -127,6 +127,7 @@ var supportedModes = { LiveScript: ["ls"], Log: ["log"], LogiQL: ["logic|lql"], + Logtalk: ["lgt"], LSL: ["lsl"], Lua: ["lua"], LuaPage: ["lp"], @@ -190,6 +191,7 @@ var supportedModes = { snippets: ["snippets"], Soy_Template:["soy"], Space: ["space"], + SPARQL: ["rq"], SQL: ["sql"], SQLServer: ["sqlserver"], Stylus: ["styl|stylus"], @@ -202,6 +204,7 @@ var supportedModes = { Textile: ["textile"], Toml: ["toml"], TSX: ["tsx"], + Turtle: ["ttl"], Twig: ["twig|swig"], Typescript: ["ts|typescript|str"], Vala: ["vala"], From 8a8e530fb12cbe53ecf117ed7fa046e5d0ca89df Mon Sep 17 00:00:00 2001 From: Parker Mauney Date: Sat, 29 Oct 2022 21:31:33 -0400 Subject: [PATCH 3/3] Backfill samples for django, txt, mips --- demo/kitchen-sink/docs/django.html | 7 +++++++ demo/kitchen-sink/docs/mips.s | 18 ++++++++++++++++++ demo/kitchen-sink/docs/text.txt | 9 +++++++++ 3 files changed, 34 insertions(+) create mode 100644 demo/kitchen-sink/docs/django.html create mode 100644 demo/kitchen-sink/docs/mips.s create mode 100644 demo/kitchen-sink/docs/text.txt diff --git a/demo/kitchen-sink/docs/django.html b/demo/kitchen-sink/docs/django.html new file mode 100644 index 00000000000..936afb3a5da --- /dev/null +++ b/demo/kitchen-sink/docs/django.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}Ace Django Template{% endblock %} + +{% block content %} +

Hello, {{ name|default:"World" }}!

+{% endblock %} diff --git a/demo/kitchen-sink/docs/mips.s b/demo/kitchen-sink/docs/mips.s new file mode 100644 index 00000000000..ec4f0091975 --- /dev/null +++ b/demo/kitchen-sink/docs/mips.s @@ -0,0 +1,18 @@ +# Original source from https://eng.libretexts.org +# Kann, Charles W., "Introduction To MIPS Assembly Language Programming" (2015). Open Textbooks. 2. +# https://cupola.gettysburg.edu/oer/2 + +# Program File: Program2-1.asm +# Author: Charles Kann +# Purpose: First program, Hello World +.text # Define the program instructions. +main: # Label to define the main program. + li $v0,4 # Load 4 into $v0 to indicate a print string. + la $a0, greeting # Load the address of the greeting into $a0. + syscall # Print greeting. The print is indicated by + # $v0 having a value of 4, and the string to + # print is stored at the address in $a0. + li $v0, 10 # Load a 10 (halt) into $v0. + syscall # The program ends. +.data # Define the program data. +greeting: .asciiz "Hello World" #The string to print. diff --git a/demo/kitchen-sink/docs/text.txt b/demo/kitchen-sink/docs/text.txt new file mode 100644 index 00000000000..991a5d70146 --- /dev/null +++ b/demo/kitchen-sink/docs/text.txt @@ -0,0 +1,9 @@ +This is just some text! + +// These + # are + -- not + + (but indent actions work) + +This is just some text!