Post History
Japt, 26 bytes aBcDeFgHiJkLmNoPqRsTuVwXyZ Try it Trivial Solution, 26 bytes ABCDEFGHIJKLMNOPQRSTUVWXYZ Try it Explanations In the first solution each lowercase letter is a method that ge...
Answer
#6: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
Each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. As the `k` method does not expect any arguments, everything that follows the `k` is essentially ignored.- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- a :Absolute difference between the first input (default 0) and
- B : 11
- c : Rounded up to the nearest multiple of
- D : 13
- e : Multiplied by 10 raised to the power of
- F : 15
- g : Sign of difference with
- H : 32
- i : Evalauate the following every H milliseconds and return an intervalID
- J : -1
- k : Prime factors
- L : 100
- m : Minimum with
- N : Array of all inputs (empty)
- o : Modify last element
- P : Empty string
- q : Split on
- R : Newline
- s : Sliced from (0-based index)
- T : 0
- u : Modulo
- V : Second input variable (default 0)
- w : Maximum with
- X : Fourth input variable (default 0)
- y : GCD with
- Z : Sixth input variable (default 0)
:Implicit output of result (-1)
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
- ## Trivial Solution, 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo&input=ImNvZGVnb2xmIg)
- ## Explanations
- In the first solution each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. As the `k` method does not expect any arguments, everything that follows the `k` is essentially ignored.
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- a :Absolute difference between the first input (default 0) and
- B : 11
- c : Rounded up to the nearest multiple of
- D : 13
- e : Multiplied by 10 raised to the power of
- F : 15
- g : Sign of difference with
- H : 32
- i : Evalauate the following every H milliseconds and return an intervalID
- J : -1
- k : Prime factors
- L : 100
- m : Minimum with
- N : Array of all inputs (empty)
- o : Modify last element
- P : Empty string
- q : Split on
- R : Newline
- s : Sliced from (0-based index)
- T : 0
- u : Modulo
- V : Second input variable (default 0)
- w : Maximum with
- X : Fourth input variable (default 0)
- y : GCD with
- Z : Sixth input variable (default 0)
- :Implicit output of result (-1)
- The second solution is just all of Japt's built-in variable names, each of which has a default value, with the value of the last one being output. To explain the 13 that aren't included above:
- A :10
- C :12
- E :14
- G :16
- I :64
- K :Date object
- M :Math object
- O :What I call the "Other" object, which includes miscellaneous methods such as string compression, explicit output and console.log
- Q :Quotation mark
- S :Space
- U :First input variable (default 0)
- W :Third input variable (default 0)
- Y :Fifth input variable (default 0)
#5: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
- Each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. As the `k` method does not expect any arguments, everything that follows the `k` is essentially ignored.
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- a :Absolute difference between the first input (default 0) and
- B : 11
- c : Rounded up to the nearest multiple of
- D : 13
- e : Multiplied by 10 raised to the power of
- F : 15
- g : Sign of difference with
- H : 32
- i : Evalauate the following every H milliseconds and return an intervalID
- J : -1
- k : Prime factors
- L : 100
- m : Minimum with
- N : Array of all inputs (empty)
- o : Modify last element
- P : Empty string
- q : Split on
- R : Newline
- s : Sliced from (0-based index)
- T : 0
- u : Modulo
- V : Second input variable (default 0)
- w : Maximum with
- X : Fourth input variable (default 0)
- y : GCD with
Z : Sixth input variable (default 0)
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
- Each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. As the `k` method does not expect any arguments, everything that follows the `k` is essentially ignored.
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- a :Absolute difference between the first input (default 0) and
- B : 11
- c : Rounded up to the nearest multiple of
- D : 13
- e : Multiplied by 10 raised to the power of
- F : 15
- g : Sign of difference with
- H : 32
- i : Evalauate the following every H milliseconds and return an intervalID
- J : -1
- k : Prime factors
- L : 100
- m : Minimum with
- N : Array of all inputs (empty)
- o : Modify last element
- P : Empty string
- q : Split on
- R : Newline
- s : Sliced from (0-based index)
- T : 0
- u : Modulo
- V : Second input variable (default 0)
- w : Maximum with
- X : Fourth input variable (default 0)
- y : GCD with
- Z : Sixth input variable (default 0)
- :Implicit output of result (-1)
#4: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
Each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. Full explanation to follow on Monday.
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
- Each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. As the `k` method does not expect any arguments, everything that follows the `k` is essentially ignored.
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- a :Absolute difference between the first input (default 0) and
- B : 11
- c : Rounded up to the nearest multiple of
- D : 13
- e : Multiplied by 10 raised to the power of
- F : 15
- g : Sign of difference with
- H : 32
- i : Evalauate the following every H milliseconds and return an intervalID
- J : -1
- k : Prime factors
- L : 100
- m : Minimum with
- N : Array of all inputs (empty)
- o : Modify last element
- P : Empty string
- q : Split on
- R : Newline
- s : Sliced from (0-based index)
- T : 0
- u : Modulo
- V : Second input variable (default 0)
- w : Maximum with
- X : Fourth input variable (default 0)
- y : GCD with
- Z : Sixth input variable (default 0)
#3: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
- Each lowercase letter is a method that gets applied to its preceding uppercase letter, which is a predefined variable (except `a` which gets implicitly applied to the first input variable), and takes everything that follows as an argument. Full explanation to follow on Monday.
#2: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
Trivial solution; each uppercase letter in Japt is a predefined variable. Will be back Monday with an explanation of each and, hopefully, a mildly less trivial, but still 26 byte, solution.ABCDEFGHIJKLMNOPQRSTUVWXYZ[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo&input=ImNvZGVnb2xmIg)
- # [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- aBcDeFgHiJkLmNoPqRsTuVwXyZ
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=YUJjRGVGZ0hpSmtMbU5vUHFSc1R1VndYeVo&input=ImNvZGVnb2xmIg)
#1: Initial revision
# [Japt](https://github.com/ETHproductions/japt), 26 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) Trivial solution; each uppercase letter in Japt is a predefined variable. Will be back Monday with an explanation of each and, hopefully, a mildly less trivial, but still 26 byte, solution. ABCDEFGHIJKLMNOPQRSTUVWXYZ [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo&input=ImNvZGVnb2xmIg)