-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Project exclude paths | ||
/target/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Weird esoteric cat emoji programming language | ||
*Or: what am I doing with my life* | ||
|
||
Check out hello.cats for hello world and hello.cats.meow for compiled version. Can be downloaded as jar and then used to generate and run code. This language is great, because you can comment everywhere. | ||
|
||
.cats - not compiled | ||
|
||
.cats.meow - compiled | ||
|
||
## Challenge | ||
Open issues with your own code in this language. Best submissions will be added in README. | ||
|
||
## Actions | ||
``` | ||
x++ increment cursor 😺 | ||
x-- decrement cursor 😿 | ||
i++ increment stack index 😽 | ||
i-- decrement stack index 🙀 | ||
x**2 power 😻 | ||
sqrt(x) sqrt 😾 | ||
x = 0 cursor set to 0 😼 | ||
if(x > {i--} x {i++}) x = 1 : x = 0 🐈 | ||
if(x==1) {} : {skipTo(😹)} 😸 | ||
<end_of_logic> 😹 | ||
<END> 💩 | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
H - 72 = 8**2 + 8 | ||
😺😺😺😺😺😺😺😺😻 +64 | ||
😺😺😺😺😺😺😺😺 +8 | ||
😽 | ||
|
||
E - 69 = 8**2 + 5 | ||
😺😺😺😺😺😺😺😺😻 +64 | ||
😺😺😺😺😺 +5 | ||
😽 | ||
|
||
L - 76 = 9**2 - 5 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😿😿😿😿😿 -5 | ||
😽 | ||
|
||
L - 76 = 9**2 - 5 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😿😿😿😿😿 -5 | ||
😽 | ||
|
||
O - 79 = 9**2 - 2 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😿😿 -2 | ||
😽 | ||
|
||
SPACE - 32 = 6**2 - 4 | ||
😺😺😺😺😺😺😻 +36 | ||
😿😿😿😿 -4 | ||
😽 | ||
|
||
W - 87 = 9**2 + 6 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😺😺😺😺😺😺 +6 | ||
😽 | ||
|
||
O - 79 = 9**2 - 2 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😿😿 -2 | ||
😽 | ||
|
||
R - 82 = 9**2 + 1 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😺 +1 | ||
😽 | ||
|
||
L - 76 = 9**2 - 5 | ||
😺😺😺😺😺😺😺😺😺😻 +81 | ||
😿😿😿😿😿 -5 | ||
😽 | ||
|
||
D - 69 = 8**2 + 4 | ||
😺😺😺😺😺😺😺😺😻 +64 | ||
😺😺😺😺 +4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
++++++++p++++++++>++++++++p+++++>+++++++++p----->+++++++++p----->+++++++++p-->++++++p---->+++++++++p++++++>+++++++++p-->+++++++++p+>+++++++++p----->++++++++p++++ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.panjohnny</groupId> | ||
<artifactId>CatLang</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.jetbrains</groupId> | ||
<artifactId>annotations</artifactId> | ||
<version>23.0.0</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<properties> | ||
<maven.compiler.source>18</maven.compiler.source> | ||
<maven.compiler.target>18</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
</project> |