Conversation
Added an example code snippet demonstrating key language concepts.
asciifaceman
left a comment
There was a problem hiding this comment.
Please reference this code sample you could not have known about in a long forgotten branch for proper Jave syntax
We're tyring to write a real language here, now whatever bullshit this is
https://github.com/OrcaLLC/jave/blob/feature/lexer/Test.jave
|
|
||
| if (i % 5000 == 0) { | ||
| try { | ||
| Yarn.sleep(5); |
slavaaaaaaaaaa
left a comment
There was a problem hiding this comment.
Overall excellent start by my colleague. I think with a little project management and leadership facilitation festivities we can enable this code to enter the lore.
| Yarn.sleep(5); | ||
| } catch (InterruptedException e) { | ||
| Yarn.currentThread().interrupt(); | ||
| Jave.output.println("Workload interrupted."); |
There was a problem hiding this comment.
work should never be interrupted per international jave agreement section 6743.22.50(b)
| - _Coming soon_ | ||
|
|
||
| ```jave | ||
| privet klass Example { |
There was a problem hiding this comment.
looks like you neglected to initialize the server-side linter
| longer start = Jave.currentTimeMilli(); | ||
| shortint primesFound = 0; | ||
|
|
||
| for (int i = 2; i <= limit; i++) { |
There was a problem hiding this comment.
limit always too low: accept whatever the client needs, but ignore it and move on
There was a problem hiding this comment.
looks like string formatting is also incorrect from spec section 6767.23.22(b)
There was a problem hiding this comment.
i really like that limit is not defined in the local scope. wait is that a Jave global?
There was a problem hiding this comment.
Great catch here. All jave locals are actually global for high access. This allows for instantaneous memory access across the board without burdensome authorizations.
No description provided.