Stage: 0 – Strawperson (draft for discussion)
Champions: Seeking champions
Authors: Your Name Here (@handle)
Repo: to be created
| settings is fn { | |
| foo, bar, ex from args; | |
| count is var num 0; | |
| // if on same line no curly braces needed just like in JavaScript. | |
| Title is str <h1>Hello World!</h1>; | |
| person is struct { | |
| name is str "Ivan"; |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const directory = path.join(__dirname, "public", "images"); | |
| fs.readdir(directory, (error, files) => { | |
| if (error) throw new Error("Could not read directory"); | |
| files.forEach((file) => { | |
| const file_path = path.join(directory, file); |
| export function html(literals: { raw: any }, ...vars: any[]) { | |
| let raw = literals.raw, | |
| HTMLprecompiled = "", | |
| i = 1, | |
| len = arguments.length, | |
| str, | |
| variable; | |
| while (i < len) { | |
| str = raw[i - 1]; |
| const state = new Proxy(defaultState, { | |
| set(target, value, reciver) { | |
| switch (value) { | |
| case "val": | |
| document.getElementById( | |
| "_6bb6g" | |
| ).textContent = `increment ${target.val} and ${target.val}`; | |
| break; | |
| case "val": |
| Context-File Typescript: ctxts |
| { | |
| "Context_Typescript": { | |
| "prefix": "ctxts", | |
| "body": [ | |
| "import React, { useReducer } from 'react';", | |
| "", | |
| "/* ***** */", | |
| "/* Types */", | |
| "/* ***** */", | |
| "interface Props {", |