« first day (657 days earlier)
← previous day
next day →
last day (1116 days later) »
lyxal
00:03
@user well I'm smol brain with combinatorics and optimal algorithms, so ofc imma gon merge a more efficient PR over mine
user
00:59
tbh it probably wasn't more efficient lol
But it was fun to implement :P
emanresu A
01:16
Did you test your implementation? Because
it doesn't work
(Unless I'm doing something wrong)
lyxal
01:37
@emanresuA looks like ctx is missing somewhere
Looks like #703 messed up lazylist printing
@user when you changed the signature of
output
in
LazyList.py
, you didn't update the call to
output
in
vy_print
and that didn't explicitly name its arguments
so it just errored
emanresu A
02:32
→
8 messages
moved to
Trash
8 hours later…
user
10:05
Oops sorry
lyxal
10:53
@user all good - it's fixed now.
Hey so how are we going to account for implicit input being taken if the stack is empty?
Because currently, Scala's stack class doesn't actually do that
user
I’ll implement that today or tomorrow, it shouldn’t be hard. You just use the Context object right?
lyxal
Yeah, but I'm more asking for your opinion on how it should be handled?
Should an extension method be written to the stack class?
Or should there just be a pop function separate to the stack?
PyGamer0
is vyxalS still going to be transpiled?
lyxal
Interpreted
user
Oh ok
PyGamer0
11:05
how are you gonna implement classes if vyxal is interpreted
?
user
You can just add a method directly in the Stack class right?
No need for extension methods
lyxal
You can do that?
user
@PyGamer0 It will probably be hard tbh
lyxal
@PyGamer0 I've got a few ideas.
Like have a dictionary of attributes and functions
user
@lyxal wait are we talking about different things
lyxal
11:06
@user you can add a method directly to stack?
user
Yeah
lyxal
But it's a stdlib class though
Tf you gonna modify a stdlib class?
1 hour later…
user
12:23
No I’m making a Stack class for Vyxal
It’s our own class
Now I see why you were so surprised lol
lyxal
@user oh
lol
why not just use an extension function on the standard stack?
user
Could do that honestly
I was not thinking clearly when writing that
(Tbh i never think clearly)
lyxal
I think you think clearly
user
@lyxal we don’t even need an extension, it can be a method on Context itself
@lyxal clearly you think i think clearly but clearly i think that it is clear that i do not think clearly
lyxal
@user I guess so
@user I'mm'a gon disagree with you there
3 hours later…
mathcat
15:36
Looking through VyxalS, for me, Scala is looking like a mix of Java, Python, and ... Scala.
@user I have a scala question in VyxalS
here
, if I understood it correctly, you are testing for the whole list
ast
if it's a String, Integer, etc.
But shouldn't it be in a for/while loop?
1 hour later…
user
16:59
Well the for loop is inside
Cmds.foreach(exécute)
mathcat
but the only line I'm seeing it is when
case Commands
otherwise (I think) it's like
ast == Literal
and somehow I'm not getting something important
5 hours later…
user
22:01
Each libe of Vyxal code is wrapped in Commands
It beeds some refactoring tho
« first day (657 days earlier)
← previous day
next day →
last day (1116 days later) »
all rooms
Transcript for
Feb
2
Feb '22
3
Feb
4
Vyxal
For discussion about Vyxal. Repo:
github.com/Vyxal/Vyxal
| Org:
...
4
actually-12-now
chat-bot
code-golf
dank-memes
discord
epic-gamers
joe
never-gonna-give-you-up
powered-by-copilot
rickroll
short-programs
too-many-tags
unicode
vyxal
vyxal-bot-2
we-currently-have-11
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile