-
-
Notifications
You must be signed in to change notification settings - Fork 7
Project language file
The project language file is a script file that talks about itself, inserted into all projects that sets/denotes the intended/current majority programming language. It is used to increase the amount of 1 programming language over another, or give the project a programming language (even if the project isn't programming related)
Project language files can be written in any language that GitHub will highlight on the code percentage section (such as Python (blue), JavaScript (yellow), HTML (orange) and more) This discludes markdown, xml, svg, rst, mediawiki, yaml, ini, and many more types.
Project language files are just a decoration, they are completely separate from the project. Removing them should not (and will not) affect functionality. Project language files are always placed at the root of the projects directory.
The syntax goes as follows:
-
// Start of script
(line) -
Comment with the program output
-
Normal programming language headers and imports (
#include
,int main()
,etc
) -
An output statement with the same output as 1 (above)
-
Commented file info
-
// End of script (line)
For python projects, or projects with input/output, this is how it goes:
-
# Start of script
(line) -
Comment with the program output
-
Normal programming language headers and imports (
#include
,int main()
,etc
) -
An output statement with the same output as 1 (above)
-
Exit condition output input (ie:
noMore = input("Press [ENTER] key to quit")
) -
Quit string for when any input is given, that stays on the screen until the window closes (usually:
print("The program has now been closed. If the window is still open, try pressing the close button. If this doesn't work, end the process/task with a task manager/process manager")
) -
Commented file info
-
# End of script
(line)
For languages that let you title the program (such as Eiffel, FORTRAN, BASIC, and many others) the program name is usually written as projectLanguageFile
, languageFile
, or something else that is similar, as follows:
-
// Start of script
(line) -
Comment with the program output
-
Normal programming language headers and imports (
#include
,int main()
,etc
) -
Program name (
appName = "projectLanguageFile"
) -
An output statement with the same output as 1 (above)
-
Commented file info
-
// End of script
(line)
The syntax is written differently depending on the programming language, but it always follows this order.
The comment for a project language file is usually related to a pun or something related to the name of the project, or what the project is mostly written in. Some examples being:
The Tiny Tower image repo is written in Eiffel, as it is the only programming language I know based off a tower (like the Eiffel tower)
My battery image repository is written in Assembly, as batteries typically require assembly.
My mountain image repository is written in C, as I can C (see) the mountain from my house
My AdVenture Capitalist image repository is written in C++, as C++ has classes, capitalism also has economic classes. In reverse, my AdVenture Communist image repository is written in C, as C was originally a classless language, and Communism doesn't have economical classes.
However, sometimes I can't come up with a pun. Some exceptions have been made for this:
Projects related to a farm or ranch are normally written in Vala.
Projects that are for something I don't like too much are written in languages I don't like that much, such as Go (2009 language by Google)
This is all the info you need to know about the project language file system by Sean Patrick Myrick (seanpm2001)
File type: Markdown (*.md)
File version: 1 (Wednesday, December 23rd 2020 at pm)
Line count (including blank lines and compiler line):
The DeGoogle your life project by @seanpm2001 - 2021 February - present
Google LLC - 1998 September 4th - present
( Home {Wiki} | Degoogle-your-life {Organization} | GitHub {repository} )
This Wiki talks heavily about DRM, but is completely DRM free.
All of my works are free some restrictions. DRM (Digital Restrictions Management) is not present in any of my works.
This sticker is supported by the Free Software Foundation. I never intend to include DRM in my works.
I am using the abbreviation "Digital Restrictions Management" instead of the more known "Digital Rights Management" as the common way of addressing it is false, there are no rights with DRM. The spelling "Digital Restrictions Management" is more accurate, and is supported by Richard M. Stallman (RMS) and the Free Software Foundation (FSF)
This section is used to raise awareness for the problems with DRM, and also to protest it. DRM is defective by design and is a major threat to all computer users and software freedom.
Image credit: defectivebydesign.org/drm-free/...
Footer version: 1 (Saturday, 2022 January 1st at 6:21 pm)
Back home (/Its-time-to-cut-WideVine-DRM/Wiki/)
Read the rules for editing this Wiki (COMING SOON)
Click the dropdown for Wiki pages and find out what else interests you.
This section needs improvement.
( (Wikipedia) )
Degoogle-your-life project/Its time to cut WideVine DRM - Project Wiki
Sidebar version: 1 (Saturday, 2022 January 1st at 6:29 pm)