programming-language
Here are 5,787 public repositories matching this topic...
-
Updated
Aug 10, 2022 - Kotlin
-
Updated
Jul 28, 2022
-
Updated
Aug 10, 2022 - V
-
Updated
Aug 5, 2022 - JavaScript
We currently have no lexical support for character literals. While in principle we could reuse string literals for this purpose, it would make code more self-documenting and readable if we had a distinct lexical syntax for character literals versus string literals. Based on the syntactic choices made in other languages, single-quoted text ('x') seems likely to be the best option here. We need a
-
Updated
Aug 1, 2022 - Python
-
Updated
Jul 20, 2022 - TypeScript
Whiskers' regex looks for <..> as opposed to tokenizing the input, so it is not able to detect truncated/mistyped input.
For example it can't detect that <!b is not terminated in<?b> X <!b Y </b>.
With some heuristics it could be improved: match for <?, <! and </ and only allow identifiers which are terminated with >, otherwise it is invalid.
_Originally posted by @axic in h
-
Updated
Jul 29, 2022 - Perl
-
Updated
Aug 4, 2022 - Python
-
Updated
Jul 9, 2022 - OCaml
-
Updated
Aug 10, 2022 - Dart
-
Updated
Aug 8, 2022 - Go
-
Updated
Aug 1, 2022
-
Updated
Mar 20, 2018 - TypeScript
-
Updated
May 11, 2022
-
Updated
Aug 9, 2022 - JavaScript
-
Updated
Aug 9, 2022 - TypeScript
-
Updated
May 18, 2022 - Go
The example below prints "Hello, world" when using printf, and " Hello, world" (note the extra leading space) when using @pony_os_std_print (which is what StdStream.print is using).
Note that @pony_os_std_print will put as many leading spaces as \0 are present in the original string.
use @printf[I32](fmt: Pointer[U8] tag, ...)
use @pony_os_stdout[Pointer[U8]]()
use @pony-
Updated
Aug 9, 2022 - Haxe
-
Updated
Aug 10, 2022 - Red
-
Updated
Aug 9, 2022 - Go
-
Updated
Apr 22, 2022
-
Updated
Aug 10, 2022 - Java
Motivation
The Git class currently doesn't support submodules which prevents for example using submodules in Quark repos.
Description of Proposed Feature
Add a submodule method to Git and add submodule recursion to the Quark install step, eg adding the --recurse-submodules git flag to the clone command. This will download an
import gleam/javascript/promise
pub type Task(a) =
fn() -> promise.Promise(a)
pub fn main() {
1
}compiles to this
import * as promise from "../../gleam_javascript/dist/gleam/javascript/promise.d.ts";
export type Task = () => promise.Promise$<RC>;
export function main(): number;where RC does not exist.
Improve this page
Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."
This subject was initially discussed in https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115/17 regarding a way to split a string into equal-length substrings.
The solutions discussed involved (for a string composed of 10 blocks of 8 strings)
split8(str::String) = [str[i+1:8] for i in 0:8:length(str)]