Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

75%
+4 −0
Challenges Can you give me half?

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

posted 2y ago by Olin Lathrop‭  ·  edited 2y ago by Olin Lathrop‭

Answer
#3: Post edited by user avatar Olin Lathrop‭ · 2022-02-09T20:41:16Z (about 2 years ago)
  • <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 by user avatar Olin Lathrop‭ · 2022-02-09T20:33:03Z (about 2 years ago)
  • <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 by user avatar Olin Lathrop‭ · 2022-02-09T20:31:11Z (about 2 years ago)
<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.