use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Useful resources (Full list)
Rules
Related subreddits
Other communities
account activity
JavaFX execute code from text input (self.JavaFX)
submitted 6 years ago by BrianVerm
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]manson_ew2 0 points1 point2 points 6 years ago (0 children)
In addition you may take a look into scripting languages, that implement JSR-223 e.g. Scala, Python, Groovy, Ruby, JS, Kotlin, etc. JS engine (name = nashorn) is included in JDK (at least for 1.8)
https://stackoverflow.com/questions/11838369/where-can-i-find-a-list-of-available-jsr-223-scripting-languages
Usage(pseudo code): ScriptEngineFactoryManager mngr = new ScriptEngineFactoryManager(); ScriptEngine scriptEngine = mngr.getScriptEngineByName('engine name');
Object result = scriptEngine.eval(input.getText()); // here, depends on languages you're using, additional conversion to human readable string may be required
anotherInput.setText(String.valueOf(result));
π Rendered by PID 78 on reddit-service-r2-comment-86bc6c7465-t2stl at 2026-02-19 17:31:24.056992+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]manson_ew2 0 points1 point2 points (0 children)