Skip to main content
Commonmark migration
Source Link

#2015 - Retina

2015 - Retina

#2015 - Retina

2015 - Retina

added 1 character in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k

Retina can operate in multiple modes, but the most relevant one for computations (and the Turing-complete one) is Replace mode. In Replace modmode you give Retina an even number of source files. These are then paired, the first of each pair being a regex, and the second a replacement. These are then executed in order, manipulating the input step by step. The regex can also be preceded by a configuration (delimited with `). The most important option (which makes Retina Turing-complete) is +, which makes Retina apply the replacement in a loop until the result stops changing. In the following examples, I'm also using ;, which suppresses output on intermediate stages.

Retina can operate in multiple modes, but the most relevant one for computations (and the Turing-complete one) is Replace mode. In Replace mod you give Retina an even number of source files. These are then paired, the first of each pair being a regex, and the second a replacement. These are then executed in order, manipulating the input step by step. The regex can also be preceded by a configuration (delimited with `). The most important option (which makes Retina Turing-complete) is +, which makes Retina apply the replacement in a loop until the result stops changing. In the following examples, I'm also using ;, which suppresses output on intermediate stages.

Retina can operate in multiple modes, but the most relevant one for computations (and the Turing-complete one) is Replace mode. In Replace mode you give Retina an even number of source files. These are then paired, the first of each pair being a regex, and the second a replacement. These are then executed in order, manipulating the input step by step. The regex can also be preceded by a configuration (delimited with `). The most important option (which makes Retina Turing-complete) is +, which makes Retina apply the replacement in a loop until the result stops changing. In the following examples, I'm also using ;, which suppresses output on intermediate stages.

deleted 4 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k

#2015 - RetinaRetina

Retina Retina is a regex-based programming language, which I wrote to be able to compete in PPCG challenges with regex-only answers, without having the unnecessary overhead of calling the regex in some host language. Retina is Turing-complete. To prove it I've implemented a 2-tag system solver as well as Rule 110. It is written in C#, hence it supports both the .NET flavour (by default) and the ECMAScript flavour (via a flag).

#2015 - Retina

Retina is a regex-based programming language, which I wrote to be able to compete in PPCG challenges with regex-only answers, without having the unnecessary overhead of calling the regex in some host language. Retina is Turing-complete. To prove it I've implemented a 2-tag system solver as well as Rule 110. It is written in C#, hence it supports both the .NET flavour (by default) and the ECMAScript flavour (via a flag).

#2015 - Retina

Retina is a regex-based programming language, which I wrote to be able to compete in PPCG challenges with regex-only answers, without having the unnecessary overhead of calling the regex in some host language. Retina is Turing-complete. To prove it I've implemented a 2-tag system solver as well as Rule 110. It is written in C#, hence it supports both the .NET flavour (by default) and the ECMAScript flavour (via a flag).

added 161 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading
added 71 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading
added 132 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading
added 110 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading
added 5422 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading
added 808 characters in body
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading
Source Link
Martin Ender
  • 198.8k
  • 68
  • 456
  • 1k
Loading