A crowd of blank stares

36

2

Problem

Given no input write a program or a function that outputs or returns the following string:

(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)

Rules

  • Shortest program wins.
  • Trailing whitespace allowed.
  • Trailing newlines allowed.
  • Unused parameters for functions allowed.

LiefdeWen

Posted 2017-06-20T10:27:21.987

Reputation: 3 381

5Note: this string is the concatenation of substrings of (<>.<>): "(<" + "(<>" + "(<>." + ... + "(<>.<>)" + "<>.<>)" + ">.<>)" + ... + ">)" – JungHwan Min – 2017-06-20T11:38:01.597

2This would've been a little less "hardcode all the text!" if it were a bigger crowd... – totallyhuman – 2017-06-20T21:56:29.320

@totallyhuman Will think about it next time – LiefdeWen – 2017-06-21T06:15:23.000

Answers

13

SOGL V0.12, 12 bytes

pΙ2○3V?hG]‘Γ

Explanation:

pΙ2○3V?hG]‘   Push compressed string of the first half of the string (this is the kind of thing this compressor was made for)
           Γ  mirror, swap chars & palindromize with one character overlap

Try it Here!

dzaima

Posted 2017-06-20T10:27:21.987

Reputation: 19 048

Nice to see you have an online interpreter available now :) – Emigna – 2017-06-20T11:12:51.380

How do you do this? Great work though!! – abhiagNitk – 2017-06-23T09:26:05.300

18

05AB1E, 16 bytes

"(<>.".∞ηJÀ24£.∞

Try it online!

Explanation

"(<>."             # push this string
                   # STACK: "(<>."
      .∞           # intersected mirror
                   # STACK: "(<>.<>)"
        η          # compute prefixes
         J         # join to string
                   # STACK: "((<(<>(<>.(<>.<(<>.<>(<>.<>)"
          À        # rotate left
           24£     # take the first 24 chars
                   # STACK: "(<(<>(<>.(<>.<(<>.<>(<>."
              .∞   # intersected mirror
                   # STACK: "(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)"

Emigna

Posted 2017-06-20T10:27:21.987

Reputation: 50 798

16

Python 3, 49 bytes

for i in range(11):print(end='(<>.<>)'[i-12:i+2])

Try it online!

Rod

Posted 2017-06-20T10:27:21.987

Reputation: 17 588

15

JS (Jsfuck), 10,614 bytes

Didn't have access to the website, had to figure this all out manually -.-

(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]

Explanation:

Most of the characters are relatively easy: For the brackets im executing

   ([]["fill"]+[])[13] // '('

   ([]["fill"]+[])[14] // ')'

The full stop is gotten by making js create a scientific notation number like 1.1e+21 And taking the dot character after converting to a string

The square brackets are harder, we have to execute the function to create an italic html object string and steal the angle brackets. The main trick in this is getting the 'c' for the word italics, which requires building up another function to take the c from 'function'

There's a lot of scope for improvement here, mostly on which functions are used to get the square brackets. I also recall an easier way to get the character 'c' if italics is better, but i'd have to look though my old files to find it

console.log( (!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])]
+(+[]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+!+[]+!+[]]
+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[+!+[]+!+[]]+(![]+[])[+!+[]+!+[]]])[+!+[]+(+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+[])])

Rugnir

Posted 2017-06-20T10:27:21.987

Reputation: 259

3This looks overly-long even for JSFuck but +1 for the sheet effort of doing this manually. – F1Krazy – 2017-06-20T16:40:56.843

I call BS on doing it manually. You had to have done something to automate generating that. – Patrick Roberts – 2017-06-20T22:57:02.017

10660 bytes actually. – CalculatorFeline – 2017-06-21T00:51:57.697

6@PatrickRoberts I bet he figured it out manually and used the powers of ctrlc and v – bleh – 2017-06-21T02:21:14.970

1@PatrickRoberts It's not a super difficult program, its just a case of understanding how to build up each character. As a basic example, the way to get a 't' character is to make an empty array '[]', cast to a number to make the number 0: '+[]' and then apply the not operator to it to cast to a boolean true '!+[]'. Then cast to a string, by adding an empty array again and putting it in brackets to give us the string "true" '(!+[]+[])' and finally take the zeroth letter with '(!+[]+[])[+[]]' – Rugnir – 2017-06-21T08:59:15.893

Why do you need square brackets? – CalculatorFeline – 2017-06-21T16:14:42.817

@CalculatorFeline what do you mean? Are you suggesting its possible for just the characters '()+!' to be turing complete then i'm not sure, but i'm much more familiar with the '!+' system

– Rugnir – 2017-06-21T16:15:55.057

()+! isn't Turing complete because no literals exist. I meant why do you need to construct square brackets []? – CalculatorFeline – 2017-06-21T16:16:41.813

@CalculatorFeline ah right yes I mean '<' and '>', not sure what the proper name is. maybe angle brackets – Rugnir – 2017-06-21T16:17:59.640

Correct. And yeah, <> seem quite hard to make D: Maybe you should try making a <u> element rather than an <i> element (u=([][[]]+[])[+[]]) – CalculatorFeline – 2017-06-21T16:21:57.920

@CalculatorFeline I'd need to build up the name of the function. Here i'm making the string function 'italics()'. Your comment did prompt me looking into shorter words, I think bold() may be easier to create – Rugnir – 2017-06-21T16:25:45.113

Forgot about that :P Also, what browser are you using? Chrome 58 doesn't have italics or bold. – CalculatorFeline – 2017-06-21T16:30:38.033

@CalculatorFeline chrome version 58, italics seems to work ok here, just ran "a".italics() in the console

I have to go for today, i will speak more tomorrow – Rugnir – 2017-06-21T16:31:29.390

Oh, I thought it was a global function. Good to know. sup and sub seem like good candidates (hardest chars are p and b) – CalculatorFeline – 2017-06-21T16:33:47.860

My semiautogenerated solution is 11846 bytes. Well, time to start golfing :P (Also, I'm using alert. Calculating with console.log now) – CalculatorFeline – 2017-06-21T18:31:31.597

13169 bytes with console.log. Clearly not the way to go. – CalculatorFeline – 2017-06-21T18:37:32.577

Wait a moment. Is this a function? Well, doesn't make much of a difference for me (~100 bytes) – CalculatorFeline – 2017-06-21T18:52:40.927

@CalculatorFeline I'll see if I have a good solution for p or b written down in a notepad file somewhere to make sub or sup now – Rugnir – 2017-06-22T09:29:47.993

Also, now that you have access to the website (?), maybe you should take a look. – CalculatorFeline – 2017-06-22T15:01:14.320

12

C# (Mono), 54 52 bytes

s=>"(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)"

Try it online!

-2 bytes thanks to Kevin Cruijssen

RIP C#

Skidsdev

Posted 2017-06-20T10:27:21.987

Reputation: 9 656

I know the feeling (Java). But, you can save two bytes. The trailing ; isn't counted for lambda-answers. And () can be replaced with a single character (unused null object). Relevant meta post for the second.

– Kevin Cruijssen – 2017-06-20T11:08:22.770

1@KevinCruijssen Yes I did specify unused function parameters allowed so s=> is perfectly fine. – LiefdeWen – 2017-06-20T11:13:25.527

-1: There was no effort done to golf the answer in any way. – MechMK1 – 2019-08-17T14:47:51.080

@MechMK1 that's the point, it's quite literally as golfed as possible in C#. Literal output of the string is the tersest way to output this particular string in this particular language. See Erlantz's C# answer

– Skidsdev – 2019-08-18T15:09:05.687

@Skidsdev I still consider that it's against the spirit of Code Golf, boring to write and boring to read. I mean, my vote doesn't count because I don't actively participate, so don't worry about that. It's just my 2 cents, so to say. – MechMK1 – 2019-08-18T15:19:11.677

11

Retina, 30 bytes


(<>.<>)
5`.
$&$'
7`.
$`$&
^.

Try it online!

Martin Ender

Posted 2017-06-20T10:27:21.987

Reputation: 184 808

1um what even is this – CalculatorFeline – 2017-06-20T18:52:08.940

7

V, 28 27 25 22 bytes

3? 4? bytes thanks to @KritixiLithos

i(<>.<>)òÙxlHÄ$xGòxÍî

Try it online!

i(<>.<>)                'insert (<>.<>)
         ò        ò      'recursively
          Ù              'duplicate this (bottom line) down
           x             'delete the first character
            l            'and break when there's only one character left
             H           'go to the top of the buffer
              Ä          'duplicate that line up
               $x        'delete the last character
                 G       'and go back to the bottom of the buffer
                   x     'delete the extra ) left by the loop
                    Íî   'and remove all newlines

nmjcman101

Posted 2017-06-20T10:27:21.987

Reputation: 3 274

You can replace hx with just X. – user41805 – 2017-06-20T11:31:29.123

And dkHxògJ is 1 byte shorter than dkVHgJ0x. – user41805 – 2017-06-20T11:35:13.163

Yeah DJ's Íî thing works too – nmjcman101 – 2017-06-20T11:36:48.457

I get i(<>.<>)òÙxlHÄ$xGòddÍî for 23 – user41805 – 2017-06-20T11:40:37.877

@KritixiLithos I literally JUST switched the lX for xl too :D – nmjcman101 – 2017-06-20T11:41:28.643

7

Charcoal, 18 17 bytes

F⁶…(<>.<>)⁺²ι‖BO⁷

Try it online! Link is to verbose version of code. Uses the new Slice operator.

Neil

Posted 2017-06-20T10:27:21.987

Reputation: 95 035

Compression is also 17 bytes now :P – ASCII-only – 2017-09-07T06:30:37.060

7

R, 42 bytes

cat(substring('(<>.<>)',-4:6,2:12),sep='')

Fairly simple program that takes advantage of the way substring works in R. So substring('(<>.<>)',-4:6,2:12) produces the following vector

> substring('(<>.<>)',-4:6,2:12)
 [1] "(<"      "(<>"     "(<>."    "(<>.<"   "(<>.<>"  "(<>.<>)" "<>.<>)"  ">.<>)"  
 [9] ".<>)"    "<>)"     ">)"  

cat with an empty separator outputs it to STDOUT in the required format.

Try it online!

MickyT

Posted 2017-06-20T10:27:21.987

Reputation: 11 735

5

TrumpScript, 70 Bytes

I know, it's a boring solution.

say "(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)"
America is great

Dust

Posted 2017-06-20T10:27:21.987

Reputation: 131

Well done, nonetheless. – Adam – 2018-09-02T05:17:52.260

4

Brachylog, 14 bytes

"(<>.<>)"aᶠckb

Try it online!

"(<>.<>)"           #   string
         aᶠ         #       get all Affixes (pre- and suffixes)
           c        #       Concatenate
            kb      #       remove last (Knife) and first (Behead)

Kroppeb

Posted 2017-06-20T10:27:21.987

Reputation: 1 558

As of now the full face seems to get duplicated, but you can fix it by just changing the into a . – Unrelated String – 2019-08-16T05:18:37.473

3

C (gcc), 59 57 bytes

2 4 bytes less than a simple puts() solution. There is sure to be some elegant recursive solution, but so far the overhead becomes too large at every attempt.

f(i){for(i=1;i++<12;)printf("%.*s",i,"(<>.<>)"+i/7*i%7);}

Try it online!

gastropner

Posted 2017-06-20T10:27:21.987

Reputation: 3 264

3

Brainfuck, 198 175 167 Bytes

I have never done a codegolf, so this is my first one. Feedback is highly appreciated.

++++[>+++++<-]>[>++>+++>+++>++>++[<]>-]>.>.<.>.>++.<<.>.>.>>++++++.<<<<.>.>.>>.<<<.<.>.>.>>.<<<.>.<<.>.>.>>.<<<.>.>+.<<.>.>>.<<<.>.>.<.>>.<<<.>.>.>.<<<.>.>.<<.>.>.<.>.

Try it online!

I went for the most obvious solution in my opinion. First, I set cells 1-5 to one of the letters "().<>". Then I just go to the right cells and output the character.

UPDATE: I changed the order in which the characters appear on the "tape" making the program way shorter and more efficient.

UPDATE 2: Just revisited my post after a while and realized, that using a shorter sequence for setting up the cells I could save some bytes.

Dust

Posted 2017-06-20T10:27:21.987

Reputation: 131

Welcome to PPCG! :) – Shaggy – 2018-01-25T09:33:26.273

Nice, first answer, usually answers that are not immediately apparent how they work need an explanation but this challenge is pretty trivial so not really needed. But if you do a 1200 bytes brainfuck in the future just a simple explanation goes a long way. – LiefdeWen – 2018-01-25T09:44:00.763

I will be sure to do that in the future. – Dust – 2018-01-25T09:45:04.243

Ok, I added a short (and kinda bad) description of my code. – Dust – 2018-01-25T09:51:41.437

2

Charcoal, 20 bytes

A(<>ι(<ιι.ι.<ι.ιι.‖B

Try it online!

Thanks to Destructible Lemon for noticing a pattern (-4).

AST:

Program
├A: Assign
│├'(<>': String '(<>'
│└ι: Identifier ι
├Print
│└'(<': String '(<'
├Print
│└ι: Identifier ι
├Print
│└ι: Identifier ι
├Print
│└'.': String '.'
├Print
│└ι: Identifier ι
├Print
│└'.<': String '.<'
├Print
│└ι: Identifier ι
├Print
│└'.': String '.'
├Print
│└ι: Identifier ι
├Print
│└ι: Identifier ι
├Print
│└'.': String '.'
└‖B: Reflect butterfly
 └Multidirectional

What ‖B does is basically visually palindromize canvas.

Erik the Outgolfer

Posted 2017-06-20T10:27:21.987

Reputation: 38 134

Explanation please. – CalculatorFeline – 2017-06-20T18:56:39.500

@CalculatorFeline Added AST as returned by -a. – Erik the Outgolfer – 2017-06-20T18:59:02.613

Huh. That was more useful than I thought. – CalculatorFeline – 2017-06-20T19:05:05.967

I think this would be clearer even if you just added that print is implicit with objects – Destructible Lemon – 2017-06-22T02:32:56.513

@DestructibleLemon But the AST already has the Prints in there, not sure what you mean. – Erik the Outgolfer – 2017-06-22T08:56:37.530

I know. it would just clarify why there are a bunch of print commands out of nowhere for someone who doesn't know the language – Destructible Lemon – 2017-06-22T09:06:00.770

Wait a minute I got it wrong and this is bugged – Destructible Lemon – 2017-06-22T09:10:37.927

@DestructibleLemon Basically the AST says that those Prints are implied by itself. – Erik the Outgolfer – 2017-06-22T09:18:51.367

A(<>.ι(<(<>ιι<ι<>ι‖B actually works – Destructible Lemon – 2017-06-22T09:37:15.413

2

JavaScript, 47 bytes

g=(i=2)=>i>12?'':'(<>.<>)'.slice(i-14,i)+g(i+1)
f=(i=11)=>i?f(i-1)+'(<>.<>)'.slice(i-13,i+1):''

// Both of the above work and are the same size

document.write('<pre>Actual g(): ' + g() + '\nActual f(): ' + f() + '\nExpected:   (<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)</pre>');

Uses the same method as Rod's Python answer.

Artyer

Posted 2017-06-20T10:27:21.987

Reputation: 1 697

2

C (gcc), 61 bytes

I know this is lame but it's much shorter than my other solution...

f(){puts("(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)");}

C (gcc), 103 bytes

Here's a version where I'm trying to be somewhat tricky...

char*e="(<>.<>)<>.<>)>.<>).<>)<>)>)";f(i,n){for(n=2;n<8;n++)for(i=0;i<n;i++)putchar(e[i]);puts(&e[i]);}

C (gcc), 117 115 bytes

A recursive version that's fully tricky...

char*e="(<>.<>)";main(i,j){if(i<6){for(++i,j=0;j<i;putchar(e[j++]));main(i);}else if(i<12)printf(e+i++-6),main(i);}

Try it online!

cleblanc

Posted 2017-06-20T10:27:21.987

Reputation: 3 360

1Please also share your none-hardcoded solution. Despite being longer I'm sure it's much more interesting than this trivial one. – Laikoni – 2017-06-20T17:45:44.510

2

Mathematica 41 bytes

""<>"(<>.<>)"~StringDrop~i~Table~{i,-5,5}

Kelly Lowder

Posted 2017-06-20T10:27:21.987

Reputation: 3 225

2

q, 29 bytes

raze"(<>.<>)"{(y-5)_x}/:(!)11

-2 bytes thanks to streetster

EDIT for explanation:

Language is right to left interpreted.

How it works

raze"(<>.<>)"{(y-5)_x}/:(!)11
                        (!)11 /yields indices [0-10], right parameter of function (y)
                      /:      /each right: loop right parameter of a dyadic function
             {       }        /function
    "(<>.<>)"                 /left parameter of function (x)
              (y-5)           /subtract 5 from y (indices)
                   _          /remove first y chars from x, or last y chars if negative
raze                          /flatten string output to produce the final string

B.Wong

Posted 2017-06-20T10:27:21.987

Reputation: 21

4An explanation here would be great. – Gryphon – 2017-06-22T10:41:24.190

1You can remove the space before the _x for 1 byte, and change til 11 to (!)11 for another 1 byte saving = 2 bytes saved :) – streetster – 2017-06-23T00:00:00.240

@streetster great stuff :) – B.Wong – 2017-06-23T00:11:43.050

2

A crowd of blank stares watching Batman in honor of Adam West...

C# (.NET Core), 393 bytes

s=>{string b="NanananaNanaBATMAN!NanaBATMAN!NANANanaBATMAN!NANAnanaNanaBATMAN!NANABATMAN!NanaBATMAN!NANABATMAN!naNABATMAN!NANABATMAN!naNANAnaNANABATMAN!naNANANABATMAN!naNABATMAN!naNANAnanaNA",r="",t;for(int i=0;i<176;)if(b[i]=='B'){r+="<>";i+=7;}else{t=b.Substring(i,4);if(t=="Nana")r+="(";else if(t=="nana")r+="<";else if(t=="NAna")r+=">";else if(t=="NANA")r+=".";else r+=")";i+=4;}return r;}

Try it online!

Charlie

Posted 2017-06-20T10:27:21.987

Reputation: 11 448

2

Haskell, 55 45 bytes

map take[2..7]++map drop[1..5]>>=($"(<>.<>)")

Try it online!

First Haskell answer to beat the hardcoded solution!

Explanation

The way this answer works is by building a list of functions to be applied to the string (<>.<>). First we build the left and center with

map take[2..7]

which gives us all the prefixes from size two to seven. Then we build the right with

map drop[1..5]

which gives us all the suffixes from size six to two.

Once we have the list of functions we use a monadic bind (>>=) which is just concatMap but shorter. The function we concatmap with is ($"(<>.<>)") which applies the input to the string (<>.<>).

This makes the string.

Post Rock Garf Hunter

Posted 2017-06-20T10:27:21.987

Reputation: 55 382

1

Jelly, 22 bytes

1 byte thanks to Kritixi Lithos.

U;\UṚṖ
“(<>.<>)”;\ḊṖ,Ç

Try it online!

Leaky Nun

Posted 2017-06-20T10:27:21.987

Reputation: 45 011

I think you can drop the µ – user41805 – 2017-06-20T10:44:02.213

1

Java 8, 52 bytes

x->"(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)"

Boring, but there isn't any way to make this shorter in Java.. Just initializing a temp String is already 11 bytes.. (String t="something";), and using substring a couple of times certainly costs too many bytes..

Shortest alternative to a literal return is probably this (58 bytes):

x->"(<(x(x.(x.<(x.x(x.x)x.x)>.x).x)x)>)".replace("x","<>")

Try it here.

Kevin Cruijssen

Posted 2017-06-20T10:27:21.987

Reputation: 67 575

Also works in JavaScript, using a "fat arrow" function (=>) if you want to add it. – Shaggy – 2017-06-20T11:05:51.723

@Shaggy Nah, you can keep your JavaScript answer if you want. The same applies to C# which also already has a separate answer. – Kevin Cruijssen – 2017-06-20T11:10:10.713

1

Python 2, 57 bytes

print''.join("(<>.<>)"[max(0,n-5):n+2]for n in range(11))

I say it looks like a gang of owls peeking out behind their leader. Just saying.

Daniel

Posted 2017-06-20T10:27:21.987

Reputation: 6 425

1

MATL, 28 bytes

'(<>.<>)'XH5:"H7@-:)wh2M@+)h

Try it online!

Luis Mendo

Posted 2017-06-20T10:27:21.987

Reputation: 87 464

1

Haskell, 95 bytes

import Data.List
import Control.Arrow
concat$tail$init$uncurry(++)$inits&&&tail.tails$"(<>.<>)"

This is far longer than the 49 bytes necessary for a string literal with the output, but the best I could do to utilise the structure. As usual, I love arrows, and inits &&& tails does produce a tuple of the list of leading substrings and the list of trailing substrings of the input. Then those two tuple elements are put together in one list by passing the tuple to ++, and that list is concatenated to one large string. The tail and init calls avoid duplicating the (<>.<>) in the middle (one generated by inits, the other by tails) and drop the unwanted parenthesis from the start and end, taking only substrings of length 2 or more into account.

Bergi

Posted 2017-06-20T10:27:21.987

Reputation: 967

Can you please add an explanation? – CalculatorFeline – 2017-06-21T17:31:25.510

@CalculatorFeline Done – Bergi – 2017-06-21T17:41:51.623

1

brainfuck, 245 210 bytes

Golfing in progress.

>++++++++[<+++++>-]>++++++[<++++++++++>-]>++++++[<++++++++++>-]<++>>++++++++[<+++++>-]<++++++<<<.>.<.>.>.<<.>.>.>.<<<.>.>.>.<<.<.>.>.>.<<.>.<<.>.>.>.<<.>.<<+.>.>.>.<<.>.<<.>>.>.<<.>.<<.>>>.<<.>.<<.>.>.<<.>>.<<.

Try it online!

totallyhuman

Posted 2017-06-20T10:27:21.987

Reputation: 15 378

1

Jelly, 18 bytes

“(<>.<>)”ḣJœ|ṫJ$ḊṖ

Try it online!

How it works

“(<>.<>)”ḣJœ|ṫJ$ḊṖ  Main link. No arguments.

“(<>.<>)”           Set the argument and return value to s := "(<>.<>)".
          J         Yield all indices of s, i.e., [1, 2, 3, 4, 5, 6, 7].
         ḣ          Dyadic head; yield s's prefixes of lengths 1 to 7.
               $    Combine the two links to the left into a chain.
              J         Indices; yield [1, 2, 3, 4, 5, 6, 7].
             ṫ          Dyadic tail; yield s's postfixes of lengths 1 to 7.
           œ|       Multiset union; concatenate the results to both sides,
                    discarding the copy of s. (s is both a prefix and a postfix.)
                Ḋ   Dequeue; remove the first prefix, i.e., "(".
                 Ṗ  Pop; remove the last postfix, i.e., ")".

Dennis

Posted 2017-06-20T10:27:21.987

Reputation: 196 637

1

C (clang), 62 61 bytes

main(n){while(write(++n<13,n/7*(n-7)+"(<>.<>)",n/7?14-n:n));}

This terminates only after timing out on TIO because the write to standard input fails, but it will terminate in a terminal. The program relies on a specific order of evaluation (undefined behavior) and won't work with, e.g., gcc.

Thanks to @Steadybox for an idea that saved a byte!

Try it online!

Verification

$ cat crowd.c
main(n){while(write(++n<12,n/7*(n-7)+"(<>.<>)",n/7?14-n:n));}
$ clang -o crowd crowd.c 2> /dev/null

$ ./crowd 0> /dev/null
(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)

Alternate version, 62 bytes

main(n){while(++n<13)write(1,n/7*(n-7)+"(<>.<>)",n/7?14-n:n);}

At the cost of one more byte, the solution becomes a lot more portable.

Try it online!

Dennis

Posted 2017-06-20T10:27:21.987

Reputation: 196 637

160 bytes as a function, but it's probably not reliable. – Steadybox – 2017-06-22T00:53:04.363

Nice! 58 bytes with recursion, but it breaks if the program is called with arguments.

– Dennis – 2017-06-22T07:50:41.247

@Dennis Yeah, the (< is missing there. – Erik the Outgolfer – 2017-06-22T09:00:21.617

1

Python 2, 55 bytes

couldn't resist beating the current python 2 answer

print "(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)"

Try it online!

FantaC

Posted 2017-06-20T10:27:21.987

Reputation: 1 425

1

Jelly, 19 bytes

“(<>.<>)”µṖ¹Ƥ;¹ÐƤṖḊ

Try it online!

ellie

Posted 2017-06-20T10:27:21.987

Reputation: 131

1

J, 30 25 24 Bytes

;}.}:~.(<\,<\.)'(<>.<>)'

Explanation later, I have a feeling I can golf this more...

Edit:

-5 6 Bytes thanks to @FrownyFrog :)

Explanation:

               '(<>.<>)'   | The face
       (   <\.)            | Apply box to the suffixes of '(<>.<>)': Gives '(<>.<>)', '<>.<>)' ... ')'
          ,                | Append to...
        <\                 | Box applied to the prefixes of '(<>.<>)'
 }.}:~.                    | Remove the extra '(<>.<>)', as well as '(' and ')' from the front and back
;                          | Join into one string

Bolce Bussiere

Posted 2017-06-20T10:27:21.987

Reputation: 970

@FrownyFrog ...maybe.... :P – Bolce Bussiere – 2018-01-25T19:26:43.083

1

Stax, 16 14 bytes

ü■_'σIHa¬ø·hÑè

Run and debug it at staxlang.xyz!

Unpacked (16 bytes) and explanation:

"(<>.":w|[D$3T:w
"(<>."              String literal                     (<>.
      :w            Palindromize, flipping (){}[]<>    (<>.<>)
        |[          Array of prefixes                  [ ( (< .. (<>.<>) ]
          D         Drop first                         [ (< (<> .. (<>.<>) ]
           $        Concatenate                        (<(<>(<>.(<>.<(<>.<>(<>.<>)
            3T      Drop last three                    (<(<>(<>.(<>.<(<>.<>(<>.
              :w    Palindromize, flipping (){}[]<>    

Khuldraeseth na'Barya

Posted 2017-06-20T10:27:21.987

Reputation: 2 608

1

Python 2, 54 bytes

f=lambda i=5:L*0**i or L[:-i]+f(i-1)+L[i:]
L='(<>.<>)'

Try it online!

Slight improvement on the leading Python 2 answer

Port of my Lenny's answer

Jitse

Posted 2017-06-20T10:27:21.987

Reputation: 3 566

0

Retina, 39 bytes


(<(a(a.(a.<(a.a(abab>bba)>)
b
.a)
a
<>

Try it online!

ovs

Posted 2017-06-20T10:27:21.987

Reputation: 21 408

0

C#, 104 bytes

string a="(<>.<>)",s="";for(int i=2,k=a.Length;i<k*2-1;i++){s+=(k>i)?a.Substring(0,i):a.Substring(i-k);}

Try it online!

Erlantz Calvo

Posted 2017-06-20T10:27:21.987

Reputation: 131

t.Text? Do you perhaps mean another variable? – LiefdeWen – 2017-06-20T10:54:11.353

9I think it would be shorter to... just do the entire string. – Leaky Nun – 2017-06-20T10:56:51.800

@LiefdeWen done – Erlantz Calvo – 2017-06-20T11:03:38.127

@LeakyNun Yeah C# doesn't fare well at all at most kolmogorov complexity questions – LiefdeWen – 2017-06-20T11:06:44.717

@LeakyNun just trying to give tips – LiefdeWen – 2017-06-20T11:07:19.447

@ErlantzCalvo instead of var a="...";var s="" do string a="...",s="" on 2 declarations it saves you 1 byte and on more declarations more bytes – LiefdeWen – 2017-06-20T11:08:55.763

@ErlantzCalvo instead of i<=a.Length do a.Length>i – LiefdeWen – 2017-06-20T11:09:27.157

@LiefdeWen edited, thanks! – Erlantz Calvo – 2017-06-20T11:15:07.163

you use a.Length three times so you can do in the for loop declaration: int i=2,k=a.Length and use k in the loop instead of a.Length – LiefdeWen – 2017-06-20T11:16:33.493

0

JavaScript (ES6), 52 bytes

Obvious solution; doesn't seem to be much room for any trickery here.

f=

_=>"(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)"

o.innerText=f()
<pre id=o>

Shaggy

Posted 2017-06-20T10:27:21.987

Reputation: 24 623

I did some trickery! – Artyer – 2017-06-20T11:49:24.067

@Artyer, so I saw, nicely done :) – Shaggy – 2017-06-20T11:49:48.210

0

Brainfuck, 489 bytes

++[------>+<]>---.[-->+++<]>.[--->++<]>.[-->+++<]>.++.--[--->++<]>.[-->+++<]>.++.[->+++++++++<]>.------.[-->+++<]>.++.[->+++++++++<]>.--[----->+<]>.[--->++<]>.[-->+++<]>.++.[->+++++++++<]>.--[----->+<]>.++.--[--->++<]>.[-->+++<]>.++.[->+++++++++<]>.--[----->+<]>.++.+[--->++<]>-.-[-->+++<]>.++.[->+++++++++<]>.--[----->+<]>.++.+[--->++<]>-.+[-->+++<]>-.[->+++++++++<]>.--[----->+<]>.++.+[--->++<]>-.+++++.--[----->+<]>.++.+[--->++<]>-.-[-->+++<]>.++.+[--->++<]>-.+[-->+++<]>-.+[--->++<]>-.

Uriel

Posted 2017-06-20T10:27:21.987

Reputation: 11 708

0

Japt, 41 25 bytes

"(<>.<>)"
¤£¯Ò°TÃ+U+¤£s°V

Test it

Shaggy

Posted 2017-06-20T10:27:21.987

Reputation: 24 623

0

T-SQL, 54 bytes (the trivial solution)

PRINT'(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)'

I like this challenge, simple and yet so annoying.

I tried hard to find alternates, but nothing was shorter, due mostly due to the length of SQL keywords. Hmm, maybe I need to create GolfSQL with minimized keywords and other optimizations...

Here's my best attempt at a procedural solution (97 bytes golfed, presented here formatted):

DECLARE @ INT=-4, @o VARCHAR(99)=''
a:
    SET @o+=SUBSTRING('(<>.<>)',@,7)
    SET @+=1
IF @<7 GOTO a
PRINT @o

This works because SUBSTRING can take a negative start value, in which case it simply reduces the length.

Edit: Found a slightly shorter non-trivial solution (96 bytes):

SELECT STRING_AGG(SUBSTRING('(<>.<>)',number-4,7),'')FROM
spt_values WHERE TYPE='P'AND number<11

Only works on MS SQL Server, where the master database has a built-in system table called spt_values. This table (when filtered by WHERE TYPE='P') can be used as a number table to generate the values from -4 to 6.

BradC

Posted 2017-06-20T10:27:21.987

Reputation: 6 099

0

Bubblegum, 24 bytes

0000000: d3 b0 d1 b0 b1 03 22 3d 10 b6 01 13 76 10 52 13  ......"=....v.R.
0000010: 42 82 09 10 06 b1 35 01                          B.....5.

Try it online!

Dennis

Posted 2017-06-20T10:27:21.987

Reputation: 196 637

0

Pyth, 29 bytes

K"(<>.<>)"s++m<KhdS5Km>hdK_S5

Try it here!

clap

Posted 2017-06-20T10:27:21.987

Reputation: 834

0

Perl 5, 75+1(-w) = 76 bytes

I'm unsure of how needed -w is, but it wasn't printing the output until I tried it.

for(-5..5){$l=-abs($_)+7;$o=$_>0?7-$l:0;$s.=substr"(<>.<>)",$o,$l;}print$s;

Try it online!

Ungolfed

for(-5..5){
  $l = -abs($_) + 7;
  $o = $_ > 0 ? 7 - $l : 0;
  $s .= substr "(<>.<>)", $o, $l;
}

Geoffrey H.

Posted 2017-06-20T10:27:21.987

Reputation: 41

0

Matlab, 74 68 65 bytes

function[m]=f,s='(<>.<>)';m=s;for i=2:6,m=[s(1:8-i),m,s(i:7)];end

Runs perfectly on Matlab and prints: (<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>). However, it prints on Octave. So the link is useless.

Try it Online!

DimChtz

Posted 2017-06-20T10:27:21.987

Reputation: 916

0

Julia, 60 bytes

prod([("(<>.<>)"^2)[min(x,8):max(x,7)] for x in[9:13;1:6]])

mschauer

Posted 2017-06-20T10:27:21.987

Reputation: 1 348

1I think there is a superfluous space in ] for – Jonathan Frech – 2018-08-30T20:46:54.637

@JonathanFrech This is new, in Julia 1.0 it is needed. Julia had some potential but really seems to lack commitment to become a serious golfing language. – mschauer – 2018-08-31T15:40:21.580

I do not know a lot about Julia, but TIO's Julia seems to be on version 0.4; the space does not appear necessary there.

– Jonathan Frech – 2018-08-31T17:03:38.777

-2

PHP, 47 bytes

Needs a file with the Content-Type text/plain

(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)

Try it online!

PHP, 53 bytes

<?="(<(<>(<>.(<>.<(<>.<>(<>.<>)<>.<>)>.<>).<>)<>)>)";

Try it online!

Jörg Hülsermann

Posted 2017-06-20T10:27:21.987

Reputation: 13 026

1The first one is also a valid echo program. – CalculatorFeline – 2017-06-20T18:56:27.810

@CalculatorFeline No in the first example the PHP interpreter prints only the text. There is no start tag. We must avoid to do this in a html file. – Jörg Hülsermann – 2017-06-21T00:04:29.643

...Confused. Where did I mention HTML? – CalculatorFeline – 2017-06-21T00:51:22.263

@CalculatorFeline Nowhere! You can not use echo in the first case – Jörg Hülsermann – 2017-06-21T13:10:51.847

I suppose the correct language is cat. – CalculatorFeline – 2017-06-21T15:18:34.193