« first day (548 days earlier)      last day (913 days later) » 

12:03 AM
Cursed behaviour:
!!/run 1wĖ…Ė…Ė…
 
[@emanresuA: 59380397]
⟨⟨1⟩⟩
⟨⟨⟨⟨1⟩⟩⟩⟩
⟨⟨⟨⟨⟨⟨⟨⟨1⟩⟩⟩⟩⟩⟩⟩⟩
 
 
1 hour later…
1:14 AM
@СашаСаша Welcome to the Vyxal chat room! Type !!/help for my list of commands, and !!/info for info about Vyxal!
 
you know what, maybe interpreting vyxal might be easy. It's just swapping out the strings in the element dictionary with lambdas right?
Like we already have a dictionary of commands as strings, so why not s/string/lambda
 
...
Loops
Functions
& similar
 
but those could be specially handled somehow
i haven't actually experimented with the idea yet, this is just a shower thought
 
 
3 hours later…
4:53 AM
in The Nineteenth Byte, 5 mins ago, by lyxal
Just have a transformer that collects elements until the end of a chain is reached (what delimits the end of a chain is up to you to determine)
Because that totally isn't something I'm considering
 
5:05 AM
oh no
 
Obviously I'd experiment with it as a language design feature and see if it actually works
 
 
7 hours later…
12:20 PM
@ParsonsLeeA Welcome to the Vyxal chat room! Type !!/help for my list of commands, and !!/info for info about Vyxal!
 
 
8 hours later…
8:26 PM
@lyxal Yes!
Of course, we'd have to handle variables by having a dictionary containing variable names and their corresponding values for each scope, but I think it would be manageable
It would also make writing a debugger for Vyxal in the future easier
 
8:54 PM
Jul 18 at 13:17, by user
While we’re at it, how about making Vyxal fully interpreted?
i also approve of this
 
9:20 PM
Do we want to create a new branch from fb soon to start experimenting with an interpreter, or wait until all of that is done?
 
 
1 hour later…
10:35 PM
@user I'm thinking waiting
 
👍
 
I don't exactly know how structures would be interpreted
Any ideas?
 
10:51 PM
could just treat the body like a function
 
You mean like if statements and while loops? The structure classes could each have their own methods to interpret them, shouldn't bee terribly complicated
 
I think the hardest part might be dealing with scopes of variables. Currently, Python does that for us, but deciding if we want to create a new dictionary everytime we move into a loop or reuse the same one but remove variables is gonna be hard
Or we could just make all variables globally scoped, which would be disgusting but perhaps golfier, and certainly easier to implement
 
@user ... That's what we had in 2.4
That's the whole reason we're having a rewrite
Because we're getting rid of global variables
@user well we already pass a context variable between functions, so maybe that could be used?
@user those and also function definitions and lambdas
 
11:11 PM
@lyxal Yeah
I had started on a debugger for Vyxal a while back in the debugger branch, but I couldn't really finish it. Perhaps some of that code can still be salvaged
nvm it's been deleted
 
cgccuser deleted branch Vyxal/More-docs,-I-think-maybe-
 

« first day (548 days earlier)      last day (913 days later) »