Skip to content
#

programming-language

Here are 5,649 public repositories matching this topic...

julia
BambOoxX
BambOoxX commented Jun 21, 2022

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)

  • using a comprehension split8(str::String) = [str[i+1:8] for i in 0:8:length(str)]
  • using a comprehension and `S
good first issue strings iteration
axic
axic commented Jun 28, 2022

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

ponyc
stefandd
stefandd commented Jun 23, 2022

https://github.com/ponylang/ponyc/blob/58134d152503147e7980404990252136dd7b6cc6/src/libponyc/type/lookup.c#L56-L68

This code is a bit bogus. If opt can be NULL, the declaration typecheck_t* t = &opt->check; could crash the compiler. In any case, it looks like the t declaration could be safely moved into the scope of the if-branch, where it is properly guarded against opt == NULL.

help wanted bug good first issue

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Jul 4, 2022
  • Red
madskjeldgaard
madskjeldgaard commented Apr 6, 2022

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

enhancement good first issue quarks

Improve this page

Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more