Piet , 16 bytes
5bpiaibpikibptai
Online interpreter available here.
##Explanation
Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green or dark blue, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.
5bpiaibpikibptai
Online interpreter available here.
##Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green or dark blue, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.
Piet , 16 bytes
5bpiaibpikibptai
Online interpreter available here.
Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green or dark blue, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.
5bpiaibpikibptai
Online interpreter available here.
##Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green or dark blue, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.
5bpiaibpikibptai
Online interpreter available here.
##Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.
5bpiaibpikibptai
Online interpreter available here.
##Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green or dark blue, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.
5bpiaibpikibptai
Online interpreter available here.
##Explanation
To run, paste the code above in the text box on the right side of the linked page. Below is a graphical representation of this code with codel size 31. The grid is for readability and may interfere with traditional Piet interpreters.
The code runs linearly from left to right, going along the top of the image until the first green block, where program flow moves to the middle row of codels. The white lone white codel is necessary for program flow. It could be replaced with a codel of any color other than green, but I have chosen white for readability.
Instruction Δ Hue Δ Lightness Stack
----------- ----- ----------- -----
In (Number) 4 2 m
In (Number) 4 2 n, m
Multiply 1 2 m*n
Out (Number) 5 1 [Empty]
[Exit] [N/A] [N/A] [Empty]
If you think that text is not the best way to represent a Piet program or have an issue with the byte size of Piet programs in general, please let your opinion be known in the discussion on meta.