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

66%
+2 −0
Challenges Source with the whole alphabet in order of appearance

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

posted 2mo ago by Shaggy‭  ·  edited 1mo ago by Shaggy‭

Answer
#6: Post edited by user avatar Shaggy‭ · 2024-10-21T10:57:43Z (about 1 month ago)
  • # [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 by user avatar Shaggy‭ · 2024-10-21T10:46:50Z (about 1 month ago)
  • # [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 by user avatar Shaggy‭ · 2024-10-21T08:47:06Z (about 1 month ago)
  • # [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 by user avatar Shaggy‭ · 2024-10-18T23:02:30Z (about 2 months ago)
  • # [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 by user avatar Shaggy‭ · 2024-10-18T22:58:33Z (about 2 months ago)
  • # [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 by user avatar Shaggy‭ · 2024-10-18T21:37:13Z (about 2 months ago)
# [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)