Discuss Scratch
- Discussion Forums
- » Collaboration
- » PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
PIZN - An actual programming language!
Pizn will be mainly coded in C++, but if you don't know C++ it's ok. Java (some graphics stuff), JS (API connection stuff), and Python will also be used to make some other stuff. We also need graphic designers (the compiler will be an app, not a website (because putting C into HTML/CSS/JS is hard) which will be coded in C++)!
(i already have like 80 lines of code with the base stuff)
im workin on the bbcode
meanwhile heres the important stuff
Join form didn't say:Username:
Position: (c++/java/js/py coder, designer, artist, idea giver)
Experience: /10
Experience questions (OPTIONAL)
If you put c++ coder in Position:
1. What does "cout" mean
2. Is "vector<vector<string>>" a valid data type
If you put java coder in Position:
1. How to print text (that's it - we don't need much java)
If you put js coder in Position:
1. What does backticks (``) do to strings
If you put python coder in Position:
1. Are indents required in python
2. What is pygame
Activity: /10
Other:
Last edited by RobloxianMinecraft (March 27, 2022 01:51:11)
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
reserved!1!!!
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
View Pizn Code
Todolist
Blue = Done and added to latest version
Green = Done
Orange = Taken, not done/in progress
Red = Not taken
Todolist
Blue = Done and added to latest version
Green = Done
Orange = Taken, not done/in progress
Red = Not taken
- Main module
Last edited by RobloxianMinecraft (March 26, 2022 06:16:15)
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
reserved
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
ahjbnwhbedhbdwdhwdwnhdjwreserved
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
reserved
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
reserve
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
bump
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
bump?!
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
car hit something
- What_do_we_do_now
-
Scratcher
500+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
Username: What_do_we_do_now
Position: (c++/java/js/py coder, designer, artist, idea giver) C++, Java, JavaScript, Python, designer, idea giver
Experience: 8/10
Experience questions (OPTIONAL)
If you put c++ coder in Position:
1. What does “cout” mean: cout << “Hello”; prints Hello to the console
2. Is “vector<vector<string>>” a valid data type: no
If you put java coder in Position:
1. How to print text (that's it - we don't need much java)
If you put js coder in Position:
1. What does backticks (``) do to strings: You can do `Hello ${name}` instead of “Hello ” + name
If you put python coder in Position:
1. Are indents required in python: Yes
2. What is pygame: A game engine
Activity: 9/10
Other: I am going to be gone for this week, but still active
Position: (c++/java/js/py coder, designer, artist, idea giver) C++, Java, JavaScript, Python, designer, idea giver
Experience: 8/10
Experience questions (OPTIONAL)
If you put c++ coder in Position:
1. What does “cout” mean: cout << “Hello”; prints Hello to the console
2. Is “vector<vector<string>>” a valid data type: no
If you put java coder in Position:
1. How to print text (that's it - we don't need much java)
class Main { public static void main(String[] args) { System.out.println("Your text here"); } }
1. What does backticks (``) do to strings: You can do `Hello ${name}` instead of “Hello ” + name
If you put python coder in Position:
1. Are indents required in python: Yes
2. What is pygame: A game engine
Activity: 9/10
Other: I am going to be gone for this week, but still active
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
Username: What_do_we_do_nowACCEPTED! what is your github username (i forgot)
Position: (c++/java/js/py coder, designer, artist, idea giver) C++, Java, JavaScript, Python, designer, idea giver
Experience: 8/10
Experience questions (OPTIONAL)
If you put c++ coder in Position:
1. What does “cout” mean: cout << “Hello”; prints Hello to the console
2. Is “vector<vector<string>>” a valid data type: no
If you put java coder in Position:
1. How to print text (that's it - we don't need much java)If you put js coder in Position:class Main { public static void main(String[] args) { System.out.println("Your text here"); } }
1. What does backticks (``) do to strings: You can do `Hello ${name}` instead of “Hello ” + name
If you put python coder in Position:
1. Are indents required in python: Yes
2. What is pygame: A game engine
Activity: 9/10
Other: I am going to be gone for this week, but still active
edit: invited!
Last edited by RobloxianMinecraft (March 26, 2022 02:05:33)
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
bump!
- What_do_we_do_now
-
Scratcher
500+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
C++ code: (updated once a week)
// Imports #include <iostream> #include <vector> #include <locale> #include <string> #include <regex> using namespace std; // Global variables int doing = 0; int doLine = 1; int i = 0; string builder = ""; string checker = ""; string response = ""; vector<string> olr; // One line ram vector<string> mlr; // Many line ram vector<string> errorList; int errorCount = 0; vector<string> logs; string module; string func; vector<string> args; vector<string> params; // Constants const string logBegin = "/[/<[/ Logged \\]>\\]\\: "; const string nl = "\n"; // Newline, use instead of endl and/or "\n" const string tdent = " "; // Two indent // Configs bool enableStrict = false; bool showLogs = false; bool showErrors = true; // Really general functions void printStr(string message) { cout << message << nl; } void log(string message) { logs.push_back(message); if (showLogs) { cout << logBegin << message << nl; } } void error(string message) { errorList.push_back(string(string("Line: " + doLine) + ", Message: ") + message); errorCount++; if (showErrors) { cout << "Error at line " << doLine << ":" << nl << tdent << message; } } void notHave(string more = "") { error("Module \"" + module + "\" doesn't have function \"" + func + "\"." + more); } void mainOnExit() { printStr("\n\n...\n\nProcess finished."); } void returns(string returned) { printStr("A function returned: " + returned); // temporary } string replace(string str,string replaceThis,string replaceWith) { string test = str; test = regex_replace(test, regex(replaceThis), replaceWith); return test; } string typeify(string todo) { // This is supposed to remove quotes if its strings return todo; // Temporary } auto param(int index) { return typeify(params[index]); } string toLower(string s) { for(char &c: s) { c = tolower(c); } return s; } string toUpper(string s) { for(char &c: s) { c = toupper(c); } return s; } void waitUntilFileIsnt(string file,string data) { } void printList(vector<string> const &a) { cout << "Elements: " << nl; for(int i = 0; i < a.size(); i++) { cout << a.at(i) << nl; } } vector<string> split(string s,string delimiter) { vector<string> got; size_t pos = 0; string token; while ((pos = s.find(delimiter)) != string::npos) { token = s.substr(0, pos); got.push_back(token); s.erase(0, pos + delimiter.length()); } token = s.substr(0, pos); got.push_back(token); s.erase(0, pos + delimiter.length()); return got; } vector<string> stSplit(string s,string delimiter) { // split() but stuff in strings are ignored return split(s,delimiter); // Temporary } vector<vector<string>> splitFunc(string funcAsString) { vector<string> ct = split(funcAsString,"("); vector<string> gtArgs = split(toLower(ct[0]),"."); vector<string> gtParams = stSplit(ct[1].substr(0,ct[1].size() - 1),","); vector<vector<string>> gtFinal = {gtArgs,gtParams}; return gtFinal; } string askStr(string prompt) { string answer; cout << prompt; // Use cout << not printStr getline(cin, answer); return answer; } // Constants for formatUnderscores const vector<string> underscoreNames = {"cm","comma","dt","dot","period","dsd"}; const vector<string> underscoreDatas = {",",",",".",".",".","-/-"}; void formatUnderscores(string toFormat) { // temporary } auto math_22(string func,string param0,string param1) { // nothing(temporary) return ""; //temporary } // Run one line of the code void runOneLine(string lineAsString) { vector<vector<string>> ct = splitFunc(lineAsString); module = ct[0][0]; func = ct[0][1]; params = ct[1]; if (module == "main") { if (func == "print") { printStr(param(0)); } else if (func == "ask") { log("Main.Ask() used. Now waiting for user input."); returns(askStr(param(0))); } else if (func == "exit") { log("Main.Exit used, now intentionally exiting."); mainOnExit(); exit(0); // The 0 is required } else if (func == "loglist") { } else if (func == "errlist") { } else { notHave(); } } else if (module == "strict") { if (func == "enabled") { if (param(0) == "true") { enableStrict = true; } else if (param(0) == "false") { enableStrict = false; } else { error("Can only be true or false."); } } else if (enableStrict == true) { if (func == "setvals") { // temporary } else { notHave(); } } else { notHave(" Also, strict mode is not enabled."); } } else if (module == "math") { checker = math_22(func,param(0),param(1)); if (checker == "err") { error(response); } else { returns(checker); } } else { error("Unknown module \"" + module + "\"."); } } // Run multiple lines void runPiznCode(const vector<string> code) { for (string i: code) { runOneLine(i); } } // int main int main() { string codeToRun = "main.print(test);main.exit();"; vector<string> codeToRunNoColon = split(codeToRun,";"); printStr("<// Pizn Compiler //>\n\n...\n\n"); runPiznCode(codeToRunNoColon); mainOnExit(); return 0; }
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
C++ code: (updated once a week)you changed nothing? or am i missing something// Imports #include <iostream> #include <vector> #include <locale> #include <string> #include <regex> using namespace std; // Global variables int doing = 0; int doLine = 1; int i = 0; string builder = ""; string checker = ""; string response = ""; vector<string> olr; // One line ram vector<string> mlr; // Many line ram vector<string> errorList; int errorCount = 0; vector<string> logs; string module; string func; vector<string> args; vector<string> params; // Constants const string logBegin = "/[/<[/ Logged \\]>\\]\\: "; const string nl = "\n"; // Newline, use instead of endl and/or "\n" const string tdent = " "; // Two indent // Configs bool enableStrict = false; bool showLogs = false; bool showErrors = true; // Really general functions void printStr(string message) { cout << message << nl; } void log(string message) { logs.push_back(message); if (showLogs) { cout << logBegin << message << nl; } } void error(string message) { errorList.push_back(string(string("Line: " + doLine) + ", Message: ") + message); errorCount++; if (showErrors) { cout << "Error at line " << doLine << ":" << nl << tdent << message; } } void notHave(string more = "") { error("Module \"" + module + "\" doesn't have function \"" + func + "\"." + more); } void mainOnExit() { printStr("\n\n...\n\nProcess finished."); } void returns(string returned) { printStr("A function returned: " + returned); // temporary } string replace(string str,string replaceThis,string replaceWith) { string test = str; test = regex_replace(test, regex(replaceThis), replaceWith); return test; } string typeify(string todo) { // This is supposed to remove quotes if its strings return todo; // Temporary } auto param(int index) { return typeify(params[index]); } string toLower(string s) { for(char &c: s) { c = tolower(c); } return s; } string toUpper(string s) { for(char &c: s) { c = toupper(c); } return s; } void waitUntilFileIsnt(string file,string data) { } void printList(vector<string> const &a) { cout << "Elements: " << nl; for(int i = 0; i < a.size(); i++) { cout << a.at(i) << nl; } } vector<string> split(string s,string delimiter) { vector<string> got; size_t pos = 0; string token; while ((pos = s.find(delimiter)) != string::npos) { token = s.substr(0, pos); got.push_back(token); s.erase(0, pos + delimiter.length()); } token = s.substr(0, pos); got.push_back(token); s.erase(0, pos + delimiter.length()); return got; } vector<string> stSplit(string s,string delimiter) { // split() but stuff in strings are ignored return split(s,delimiter); // Temporary } vector<vector<string>> splitFunc(string funcAsString) { vector<string> ct = split(funcAsString,"("); vector<string> gtArgs = split(toLower(ct[0]),"."); vector<string> gtParams = stSplit(ct[1].substr(0,ct[1].size() - 1),","); vector<vector<string>> gtFinal = {gtArgs,gtParams}; return gtFinal; } string askStr(string prompt) { string answer; cout << prompt; // Use cout << not printStr getline(cin, answer); return answer; } // Constants for formatUnderscores const vector<string> underscoreNames = {"cm","comma","dt","dot","period","dsd"}; const vector<string> underscoreDatas = {",",",",".",".",".","-/-"}; void formatUnderscores(string toFormat) { // temporary } auto math_22(string func,string param0,string param1) { // nothing(temporary) return ""; //temporary } // Run one line of the code void runOneLine(string lineAsString) { vector<vector<string>> ct = splitFunc(lineAsString); module = ct[0][0]; func = ct[0][1]; params = ct[1]; if (module == "main") { if (func == "print") { printStr(param(0)); } else if (func == "ask") { log("Main.Ask() used. Now waiting for user input."); returns(askStr(param(0))); } else if (func == "exit") { log("Main.Exit used, now intentionally exiting."); mainOnExit(); exit(0); // The 0 is required } else if (func == "loglist") { } else if (func == "errlist") { } else { notHave(); } } else if (module == "strict") { if (func == "enabled") { if (param(0) == "true") { enableStrict = true; } else if (param(0) == "false") { enableStrict = false; } else { error("Can only be true or false."); } } else if (enableStrict == true) { if (func == "setvals") { // temporary } else { notHave(); } } else { notHave(" Also, strict mode is not enabled."); } } else if (module == "math") { checker = math_22(func,param(0),param(1)); if (checker == "err") { error(response); } else { returns(checker); } } else { error("Unknown module \"" + module + "\"."); } } // Run multiple lines void runPiznCode(const vector<string> code) { for (string i: code) { runOneLine(i); } } // int main int main() { string codeToRun = "main.print(test);main.exit();"; vector<string> codeToRunNoColon = split(codeToRun,";"); printStr("<// Pizn Compiler //>\n\n...\n\n"); runPiznCode(codeToRunNoColon); mainOnExit(); return 0; }
also im working on a new interpreter
Last edited by RobloxianMinecraft (April 5, 2022 03:06:01)
- pizn
-
Scratcher
27 posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
this is just me on an alt
anyways i registered a website http://pizn.org/
it says its not safe because i havent bought a https certificate yet
ill put the official code and compiler in there once i finish the website
also over the few days ive been making a new compiler
and when i finish it ill combine it with the compiler on the repo to make compiler v0.1
anyways i registered a website http://pizn.org/
it says its not safe because i havent bought a https certificate yet
ill put the official code and compiler in there once i finish the website
also over the few days ive been making a new compiler
and when i finish it ill combine it with the compiler on the repo to make compiler v0.1
Last edited by pizn (May 11, 2022 10:57:58)
- What_do_we_do_now
-
Scratcher
500+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
this is just me on an altJust wondering, how much does the domain cost? Sorry I haven't been active for a while, I haven't been able to do much coding lately. Replit got blocked on my school computer, and I haven't been on GitHub for a while.
anyways i registered a website http://pizn.org/
it says its not safe because i havent bought a https certificate yet
ill put the official code and compiler in there once i finish the website
also over the few days ive been making a new compiler
and when i finish it ill combine it with the compiler on the repo to make compiler v0.1
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
560 thai bahtthis is just me on an altJust wondering, how much does the domain cost? Sorry I haven't been active for a while, I haven't been able to do much coding lately. Replit got blocked on my school computer, and I haven't been on GitHub for a while.
anyways i registered a website http://pizn.org/
it says its not safe because i havent bought a https certificate yet
ill put the official code and compiler in there once i finish the website
also over the few days ive been making a new compiler
and when i finish it ill combine it with the compiler on the repo to make compiler v0.1
uh
16.14$
pretty cheap if you ask me
- What_do_we_do_now
-
Scratcher
500+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
$16.14? A lot of domains here are between $10 and $12, maybe $15. (346.90, 416.28, and 520.35)560 thai bahtthis is just me on an altJust wondering, how much does the domain cost? Sorry I haven't been active for a while, I haven't been able to do much coding lately. Replit got blocked on my school computer, and I haven't been on GitHub for a while.
anyways i registered a website http://pizn.org/
it says its not safe because i havent bought a https certificate yet
ill put the official code and compiler in there once i finish the website
also over the few days ive been making a new compiler
and when i finish it ill combine it with the compiler on the repo to make compiler v0.1
uh
16.14$
pretty cheap if you ask me
Anyway, want me to convert the C++ to JS for the website? Time to convert might be 1-2 hours tops.
EDIT: Are you using JavaScript or TypeScript? (TS is JS but with types)
Last edited by What_do_we_do_now (May 15, 2022 03:02:16)
- RobloxianMinecraft
-
Scratcher
1000+ posts
PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)
yes$16.14? A lot of domains here are between $10 and $12, maybe $15. (346.90, 416.28, and 520.35)560 thai bahtthis is just me on an altJust wondering, how much does the domain cost? Sorry I haven't been active for a while, I haven't been able to do much coding lately. Replit got blocked on my school computer, and I haven't been on GitHub for a while.
anyways i registered a website http://pizn.org/
it says its not safe because i havent bought a https certificate yet
ill put the official code and compiler in there once i finish the website
also over the few days ive been making a new compiler
and when i finish it ill combine it with the compiler on the repo to make compiler v0.1
uh
16.14$
pretty cheap if you ask me
Anyway, want me to convert the C++ to JS for the website? Time to convert might be 1-2 hours tops.
EDIT: Are you using JavaScript or TypeScript? (TS is JS but with types)
ill give full credit
i use js, i dont like ts
its a little weird
Last edited by RobloxianMinecraft (May 17, 2022 07:29:20)
- Discussion Forums
- » Collaboration
-
» PIZN - An actual programming language - NOW HIRING - (coded in C++, yes, im not kidding)


