« first day (2836 days earlier)      last day (2329 days later) » 

00:00
"We lose ourselves in the things we love. We find ourselves there, too." -Dale Patridge (source)
 
4 hours later…
03:36
@fredoverflow I'm pretty sure C++ does.
04:21
I'll just put this here: tools.ietf.org/html/rfc8369
 
2 hours later…
Zoe
Zoe
06:15
Morn
morn
 
2 hours later…
07:51
@Pseudohuman tell me a joke
Q: What's nutritious and commutes? A: An Abelian soup.
(according to what passes for mathematical humor (my favorite sub-genre), drawn from several sources but primarily from P. Renteln and A. Dundes in their paper "Sampling of Mathematical Folk Humor" in Notices of the American Mathematical Society, vol. 52, pp. 24-34, 2005)
Zoe
Zoe
@Pseudohuman tell me a Java joke
@Zoe I do not understand.
@Pseudohuman tell me a programming joke
01010111 01101000 01111001 00100000 01100100 01101001 01100100 00100000 01110100 01101000 01100101 00100000 01100011 01101000 01101001 01100011 01101011 01100101 01101110 00100000 01100011 01110010 01101111 01110011
01110011 00100000 01110100 01101000 01100101 00100000 01110010 01101111 01100001 01100100 00111111 00100000
01010100 01101111 00100000 01100111 01100101 01110100 00100000 01110100 01101111 00100000 01110100 01101000 01100101 00100000 01101111 01110100 01101000 01100101 01110010 00100000 01110011 01101001 01100100 01100101 00100001
Zoe
Zoe
08:12
Lol
 
2 hours later…
10:30
hello every one
Zoe
Zoe
10:47
Hiya @arif!
 
1 hour later…
12:00
In the United States, approximately 7% of households are millionaires. (source)
 
1 hour later…
13:14
@Wietlol Even Brian Goetz prefers type switches over the Visitor pattern:
13:30
i suppose that for small expressions, a switch or when expression would make sense
but when you are moving to larger instructions per type, you often build out the visitor inside the switch or when
13:43
Bjarne Stroustrup also hates the Visitor pattern. The only "compiler celebrity" who seems to like it is Walter Bright.
you dont have to like it :D
but lately, I have been busy writing a language myself since... imho, every language sucks (because they do things different than the way I would do it)
because of that, there probably will never be a language that I would find amazing, except if I designed it
in any case, since I am writing that language, it also needs a compiler, which means I have been busy with compilers quite a bit as well
my compiler however is a bit more complex than for languages like Java, C# and JavaScript
or even Kotlin
which boils down to me needing various patterns to get the desired behavior in a way that doesnt make the code spaghetti
(I do use Kotlin for the compiler in case you were wondering, yet still use the visitor pattern over the when expression with the various cases)
@Wietlol If you came to the conclusion that the Visitor pattern makes your code better, more power to you.
 
6 hours later…
19:53
picks nose
 
3 hours later…
23:21
Anyone here familiar with ANTLR
23:47
a bit
@LevKnoblock you could always ask your question (even though that antlr is not really Jaba specific)
I'm just looking for anyone who would be able to help me modify a grammar for antlr
& I know that it's not java specific, but I'm using the java implementation & I'm not sure where else to ask
what is your grammar issue?
The fact that I can't find any good explanation for anything that I'm trying to do lol
I'm trying to take the python3 grammar & modify it to be a tiny bit more java-like
any specific issues?
Require variables & arguments to have an explicit type, & use {} instead of indents for loops
23:52
or more as in "i have no clue at all"?
I have no clue & I'm failing at my reading skills when it comes to tutorials on google
also, modifying some grammar made by someone else might include very complex grammar
this might help
That's what I've been trying to go off of so far - having trouble understanding what fragments are I guess
> they are reusable building blocks for lexer rules. You define them and then you refer to them in lexer rules. If you define them but do not include them in lexer rules they have simply no effect.
they allow you to split your lexer rules in different parts
while not changing the output

« first day (2836 days earlier)      last day (2329 days later) »