GRANNY is an esotoric filter programming language. It was originally named AGRAN until 2022 August 3rd, when the project was renamed to have a better name. The repository name will remain the same.
GRANNY has syntax with elements of FORTRAN, Python, Java, Visual Basic Script, and HTML5. It is also implemented in these languages. As a filter language, it is designed to filter out keywords from programs that are deemed inappropriate.
It currently has the logo for the mobile game Angry Gran as its logo. This is a placeholder.
Old description:
Another old draft for a programming language, as I love playing with languges and syntax, whether it be human-spoken, or computer generated. I don't know if I will continue this project.
00.1 - GRANNY (Programming language)
See above
Click/tap here to view this projects Wiki
If the project has been forked, the Wiki was likely removed. Luckily, I include an embedded version. You can view it here.
GRANNY shares syntax with 5 languages:
- FORTRAN
- HTML5
- Java
- Python
- Visual Basic Script (VBS, not to be confused with VB.NET)
A demo program that filters out symbols illegal in Germany looks like this:
progName = Androids.txt
program|start:
C: Start of script
D:--
ANDROIDS.TXT
ALGORITHM SOURCES
D:/end--<
android.output.printBox("Androids.txt")
D:--
android.output.printBox("Hello World!")
D:/end--<
{ Def Section badStuffRedAlert C: Flag as dangerous content
C: BAD STUFF {RED ALERT}
{ def HammerAndSickle
☭ = Hammer and Sickle | contentStatus: [BAD] }
{ def Swastika
卍 = Swastika | contentStatus: [BAD] {
RestrictIn State
{ Germany ' No_more }
}
C: End of script
C: This is my web-based algorithm language called <currently unnamed>
end program|://terminate(Androids.txt);
This was the first program made with the language.
The classic Hello World program in GRANNY.
android.output.printBox("Hello World!")
Single line comments in GRANNY look like this:
C: This is a single line comment in GRANNY
Multi-line (block) comments in GRANNY look like this:
D:--
This is a multi-line
comment in GRANNY
D:/end--<
Block comments are nestable.
On 2022, Wednesday, August 3rd, the project was renamed from AGRAN
to GRANNY
as AGRAN
just didn't work as a name. The repository will still be called AGRAN-Programming-Language
Unavailable
Currently, I am the only contributer, but if you follow ther CONTRIBUTING rules, you can contribute as well.
-
seanpm2001 - 71 commits (As of 2022, Wednesday, August 3rd at 3:23 pm PST)
-
No other contributers at the moment
Please abide by the contributing rules for this project. They are listed here.
File type: Markdown document (*.md *.mkd *.mdown *.markdown)
Line count (including blank lines and compiler line): 241
File version: 2 (2022, Wednesday, August 3rd at 3:23 pm PST)
Article language: English (USA)
Version 1 (2020, Wednesday, July 8th at 5:36 pm PST)
Changes:
- Started the file
- Added the title section
- Added the index
- Added the
about
section - Added the
project Wiki
section - Added the
Version history
section - Added the
Contributors
section - Added the
Contributing
section - Added the
README info
section - Added the
Footer
section - No other changes in version 1
Version 2 (2022, Wednesday, August 3rd at 3:23 pm PST)
Changes:
- Updated the title section
- Updated the index
- Added the placeholder project logo
- Added the
syntax
section -
- Added the
hello world
subsection
- Added the
-
- Added the
comments
subsection
- Added the
-
-
- Added the
single line
subsubsection
- Added the
-
-
-
- Added the
multi-line
subsubsection
- Added the
-
- Added the
name change
section - Updated the
project Wiki
section - Updated the
Contributors
section - Updated the
README info
section - Updated the footer
- No other changes in version 2
( Back to top | Exit to GitHub | Exit to Bing | Exit to DuckDuckGo | Exit to DuckDuckGo (Safe browsing mode) | Exit to Ecosia | Exit to Swisscows )