generated from seanpm2001/Git-Template_V8
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPROJECT_LANG_2.cjs
More file actions
35 lines (34 loc) · 1.77 KB
/
PROJECT_LANG_2.cjs
File metadata and controls
35 lines (34 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Start of script
class projectLanguageFileTwo() {
void main() {
console.log ("Project language file 2");
console.log ("For: seanpm2001/Learn-JavaScriptPlusPlus");
console.log ("About:");
console.log ("I chose JavaScript as the second project language for this project (seanpm2001/Learn-JavaScriptPlusPus) as JavaScript is the language that extends JS++ is JavaScript, and JavaScript++ is the language this project aims to compile. Due to GitHub not officially recognizing JS++ as a language yet, I made a second project language file to represent JavaScript. It is getting its own project language file, starting here.");
/* Garbage syntax, so I can test out 2 new keywords I recently learned. Uncomment to highlight
x = bool("true");
y = bool("false");
if (x == "false"); {
try y
} else: {
catch x;
}
*/
break;
return 0;
}
}
// Note for project language files: The languages associated with SNU programming tools are not included as project language files, as there are too many to list.
return main();
break;
// Output:
// Project language file 2
// For: seanpm2001/Learn-JavaScriptPlusPlus");
// About:
// I chose JavaScript as the second project language for this project (seanpm2001/Learn-JavaScriptPlusPus) as JavaScript is the language that extends JS++ is JavaScript, and JavaScript++ is the language this project aims to compile. Due to GitHub not officially recognizing JS++ as a language yet, I made a second project language file to represent JavaScript. It is getting its own project language file, starting here.
/* File info
* File version: 1 (2022, Wednesday, September 7th at 6:20 pm PST)
* File type: JavaScript 1.8 source file (*.js *.cjs *.mhs)
* Line count (including blank lines and compiler line): 36
*/
// End of script