This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- fsm.tl | |
| ------------------------------------------------------------ | |
| -- Common state interface | |
| ------------------------------------------------------------ | |
| local interface State | |
| tag: string | |
| end |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "urn:llvm:clang:22.1.8:ast-dump-json-schema", | |
| "title": "Clang 22.1.8 JSON AST dump", | |
| "description": "Schema for one JSON object emitted by Clang 22.1.8's JSON AST dumper (-Xclang -ast-dump=json or equivalent frontend APIs). The format is version-pinned because upstream explicitly provides no stability guarantee between major Clang releases.", | |
| "$comment": "Derived from clang/lib/AST/JSONNodeDumper.cpp, clang/include/clang/AST/JSONNodeDumper.h, ASTNodeTraverser.h and the Decl/Stmt/Type/Comment node tables at llvmorg-22.1.8. JSON Schema cannot detect duplicate object member names in the byte stream; see README.", | |
| "$ref": "#/$defs/astObject", | |
| "$defs": { | |
| "pointer": { | |
| "type": "string", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local threading = require("threading") | |
| local floor, sqrt = math.floor, math.sqrt | |
| local insert, concat = table.insert, table.concat | |
| local RESET = string.char(27) .. "[0m" | |
| local CLEAR_LINE = string.char(27) .. "[2K" | |
| local SHADES = " .'`^\",:;Il!i><~+_-?][}{1)(|\\/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$" | |
| local PRESETS = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <AsyncRT/Application/UI/Surface/Web/Web.h> | |
| #pragma clang assume_nonnull begin | |
| @namespace(AsyncWebUIExampleJSON) | |
| + (OFString *)stateWithCounter: (unsigned long long)counter | |
| message: (OFString *)message | |
| source: (OFString *)source; | |
| + (OFString *)echoWithPayloadJSON: (OFString *nillable)payloadJSON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef ASYNCRT_BUILD_H | |
| #define ASYNCRT_BUILD_H | |
| #import <ObjFW/ObjFW.h> | |
| #pragma clang assume_nonnull begin | |
| @class Build; | |
| @class BuildBase; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <stdio.h> | |
| #import "AsyncRuntime.h" | |
| #pragma clang assume_nonnull begin | |
| @namespace(Utilities) | |
| + (Promise *)delayForSeconds: (OFTimeInterval)seconds onScheduler: (AsyncScheduler *)scheduler; | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "jsobjc.h" | |
| #import "dom.generated.h" | |
| #include <emscripten/emscripten.h> | |
| EM_JS(void, install_demo_interop, (), { | |
| class BaseGreeter { | |
| constructor(name) { | |
| this.name = name; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdint.h> | |
| #import <ObjFW/ObjFW.h> | |
| int | |
| main(void) | |
| { | |
| void *pool = objc_autoreleasePoolPush(); | |
| OFMemoryStream *stream; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <type_traits> | |
| #define $return using result = | |
| #define $apply using apply = | |
| template<class A, class B> | |
| constexpr auto equals = std::is_same_v<A, B>; | |
| template<typename T> | |
| using call = typename T::result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdio> | |
| #include <string_view> | |
| #include <string> | |
| #include <memory> | |
| #include <unordered_map> | |
| #include <typeindex> | |
| #include <variant> | |
| #include <optional> | |
| #include <functional> | |
| #include <type_traits> |
NewerOlder