qore
qore copied to clipboard
Qore Programming Language
Currently it is possible to apply any operator to almost any expression, but many of them do not make sense: ``` class C {}; C c(); code x = sub(){};...
Note that without `my` there is no way to declare multiple variables at once. Also we need a parse option that enables this for compatibility reasons.
What if Qore::parse_float() and Qore::parse_number() would accept 3rd arg "bool strict = False" that would turn on strict parsing that might a) return NOTHING or b) throw an exception (both...
this is "invisible" because it's in unreleased functionality
- e.g. `exp2()` accepts either softfloat or number - e.g. `cos()` accepts either float or number - e.q. `floor()` accepts both softfloat and softnumber, which leads to ambiguities (see #47)...
**Code:** ``` Program p(); p.parsePending(" const f = x(); sub x() { throw \"Uncommited code executed!\"; } ", "test"); try { p.parseCommit(); } catch (ex) { printf("%s\n", ex.err); } printf("x...
with qore 0.8.12, consider the following script: ``` module mymod { version = "1"; desc = "muj modul"; author = "Pavel"; } %new-style public namespace myspace { public int sub...
with qore 0.8.12, I tried the following: $ cat reqs.q #!/usr/bin/qore %require mymod $ qr reqs.q unhandled QORE System exception thrown in TID 1 at 2015-10-19 18:23:38.444695 Mon +02:00 (CEST)...