Post History
Embed ESCR, 6 unique characters, 19 bytes [/ [*] [+ [*] [*]]] Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if...
Answer
#3: Post edited
<h2><a href="http://www.embedinc.com/pic/escr">Embed ESCR<a>, 19 bytes</h2>- <pre>[/ [*] [+ [*] [*]]]</pre>
- Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if any, the parameters. Functions can be nested.
- The * function multiplies a series of numbers. The product is initialized to 1 before the first term. A side-effect is that just "*" without any parameter returns 1. The "+" function adds two 1s to make 2. The "/" function divides the first parameter by the second, so 1 divided by 2. The result is 1/2.
- The spaces are enforced for readability, and to simplify the parsing rules. This NOT a golfing language.
- <h2><a href="http://www.embedinc.com/pic/escr">Embed ESCR<a>, 6 unique characters, 19 bytes</h2>
- <pre>[/ [*] [+ [*] [*]]]</pre>
- Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if any, the parameters. Functions can be nested.
- The * function multiplies a series of numbers. The product is initialized to 1 before the first term. A side-effect is that just "*" without any parameter returns 1. The "+" function adds two 1s to make 2. The "/" function divides the first parameter by the second, so 1 divided by 2. The result is 1/2.
- The spaces are enforced for readability, and to simplify the parsing rules. This NOT a golfing language.
#2: Post edited
- <h2><a href="http://www.embedinc.com/pic/escr">Embed ESCR<a>, 19 bytes</h2>
- <pre>[/ [*] [+ [*] [*]]]</pre>
- Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if any, the parameters. Functions can be nested.
The * function multiplies a series of numbers. The product is initialized to 1 before the first term. A side-effect is that just "*" without any parameter returns 1. The "+" function adds two 1s to make 2. The "/" function divides the first parameter by the seconds, so 1 divided by 2. The result is 1/2.- The spaces are enforced for readability, and to simplify the parsing rules. This NOT a golfing language.
- <h2><a href="http://www.embedinc.com/pic/escr">Embed ESCR<a>, 19 bytes</h2>
- <pre>[/ [*] [+ [*] [*]]]</pre>
- Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if any, the parameters. Functions can be nested.
- The * function multiplies a series of numbers. The product is initialized to 1 before the first term. A side-effect is that just "*" without any parameter returns 1. The "+" function adds two 1s to make 2. The "/" function divides the first parameter by the second, so 1 divided by 2. The result is 1/2.
- The spaces are enforced for readability, and to simplify the parsing rules. This NOT a golfing language.
#1: Initial revision
<h2><a href="http://www.embedinc.com/pic/escr">Embed ESCR<a>, 19 bytes</h2> <pre>[/ [*] [+ [*] [*]]]</pre> Each [] pair of brackets encloses an in-line function. The first token in a function is the function name, and subsequent tokens, if any, the parameters. Functions can be nested. The * function multiplies a series of numbers. The product is initialized to 1 before the first term. A side-effect is that just "*" without any parameter returns 1. The "+" function adds two 1s to make 2. The "/" function divides the first parameter by the seconds, so 1 divided by 2. The result is 1/2. The spaces are enforced for readability, and to simplify the parsing rules. This NOT a golfing language.