It's funny. nearly the entireity of QUARK's first half of the codepage (There are 3 halves now, i've moved to 10 bit encoding to allow even more shenanigins, and some dedicated optimization hints) is for variations of the alphabet, a few basic symbols, and 6 combining modifiers. Oh, and 5 repeats of the alphabet, with 3 of them just being the alphabet with some modifier tacked on
notably, a repeat of the alphabet and some symbols are given the e̲ modifier directly, to allow aliasing them as strings. QUARK now has two ways to make strings: u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ text and the usual quotes
I'd actually been poked about this a few times before now, which is why, as dmckee noted, I had been polling the moderators about their thoughts on the matter. I'm pleased to announce that starting today (some hours before now, as it were), Doorknob has joined the ranks of the pro tem moderators....
I have this code
DBConnect db = new DBConnect();
conn=db.getConnection();
if ( conn != null ) {
CallableStatement stmt = conn.prepareCall("{? = CALL holaMundo()}");
stmt.registerOutParameter(1, java.sql.Types.VARCHAR);
...
@cairdcoinheringaahing hence why i chose to have some be tokens
plus, QUARK has some quick tokens to make stuff like strings take up less space, so things like the alphabet and some symbols have multiple repetitions, eating up codepage space :P
I'm being really liberal with my space usage
And for tokenizations i can't just fit in the codepage, you have parser/compiler quicks
for example, i̐ is the compiler quick used to tell the compiler optimization hints
(and also tell it what arch to target for some code blocks, if thats possible. But that's for later)
main point of me allowing embedding code for other archs is to potentially allow GPU accelerated QUARK, just to make it better at performance challanges. I've decided i wanted to focus on performance for my redo.
because by allowing the arch target to be set, you can have a codeblock target SPIR
and as QUARK has some lowlevel qualities, stuff like pointer to function can be used to use said SPIR for GPU shenanigins, if i add support for that
@moonheart08 if Clean's inline ABC, which you can then inline ASM in has taught me anything, it's that you can always inline ASM. Even where it makes no sense.
This is my first post here, so please have mercy and don't use any well-known, usually-forbidden loopholes I might not've known to mention.
Output the largest prime number possible in as few bytes as possible using no number but pi.
Your score will be the prime number produced divided by the...
Question: How does one convert a number (say, as 32 bit integer) to a string of characters. Not using a builtin like tostring (because that's what i need to implement)
New golfing language, yea. It's a compiled one, and i want to avoid using the C std for too many things (Some things CAN use it tho), mostly because i'm not using null terminated strings.
@DJMcMayhem 1 DJMcMayhem or 1M: Average length of a BrainFlak solution to a given task e.g. "My code is 2M, it's clearly way too long" or "Yes! Finally got less than 1 DJMcMayhem on Challenge X"
Output the largest prime number possible in as few bytes as possible using no number but pi.
Your score will be the prime number produced divided by the number of bytes used for your code.
If your language has a built-in variable for pi, use that. Otherwise, let pi equal 3.1415926535898. Any ...
@cairdcoinheringaahing Mathematica now has a builtin for mining and a builtin for charging bitcoin! The one to mine ends with BitCoinCharge[MathematicaAccount, 50%]
; matches the ";" your second capture group (.+) matches "<space>x" the \2 matches "<space>x" Now we repeat the first capture group but this time match "<space>y" for both there aren't any characters left, so the $ matches the empty string at the end. Does that make sense? I haven't used sed in a little while.
@seshoumara Hi to you too. I haven't seen you here in a long time (might be because I'm not very active anymore)
but it's not a s statement with g modifier, that would do it too, the regex has a start ";" and an end "$". This capturing of a new string in what is to my mind \1* is confusing me