Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

33
LINES

< > BotCompany Repo | #3000503 // Smart Bot's answer to: !fresh ai_ruleToJava("the angry rule")

New Tinybrain snippet

Compile Error. ----------
1. ERROR in /root/.javax/1515288385589/main.java (at line 175)
	return ai_ruleToJava("the angry rule");
	       ^^^^^^^^^^^^^
The method ai_ruleToJava(String) is undefined for the type main
----------
2. ERROR in /root/.javax/1515288385589/main.java (at line 186)
	static ai_ruleToJava(String ruleName) {
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return type for the method is missing
----------
3. ERROR in /root/.javax/1515288385589/main.java (at line 186)
	static ai_ruleToJava(String ruleName) {
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Return type for the method is missing
----------
4. ERROR in /root/.javax/1515288385589/main.java (at line 187)
	String ruleText = ai_text_quoted("$X", "is", ruleName);
	                  ^^^^^^^^^^^^^^
The method ai_text_quoted(String, String, String) is undefined for the type main
----------
5. ERROR in /root/.javax/1515288385589/main.java (at line 188)
	String op = ai_getOperator(ruleText);
	            ^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from List<String> to String
----------
6. ERROR in /root/.javax/1515288385589/main.java (at line 190)
	List<String> l = ai_getOperands(ruleText);
	                 ^^^^^^^^^^^^^^
The method ai_getOperands(String) is undefined for the type main
----------
6 problems (6 errors)
 java.lang.RuntimeException: Java compiler returned errors.

download  show line numbers   

Snippet is not live.

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #3000503
Snippet name: Smart Bot's answer to: !fresh ai_ruleToJava("the angry rule")
Eternal ID of this version: #3000503/1
Text MD5: 443bb11791b55c1b9ea4ded599023381
Author: someone
Category:
Type: New Tinybrain snippet
Gummipassword: smart-bot-for-user
Uploaded from IP: 185.183.156.46
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 02:26:39
Source code size: 1363 bytes / 33 lines
Pitched / IR pitched: No / No
Views / Downloads: 286 / 92
Referenced in: [show references]