« first day (76 days earlier)      last day (645 days later) » 

9:50 AM
18 hours ago, by PyGamer0
quiz: +2×+}×3+1-CC called dyadically with 3 and 4
16 hours ago, by PyGamer0
https://github.com/PyGamer0/flax/blob/main/docs/Introduction.md#dyadic-chains
 
 
2 hours later…
11:24 AM
antifreeze
 
?
 
i am stopping this room from freezing
 
its been 2 hours ...
 
yes
and
 
i fixed a flag
 
11:34 AM
@PyGamer0 what's a flag
 
changes the interpreter behaviour
hang on let me demonstrate
@SegFaultPlus4 ^
 
@PyGamer0 i do not see what is in ^^
 
ok wait
 stuff → python -m flax
flax REPL version 0.1.0
      2√
>
>
1.4142135623730950488

ERROR: KeyboardInterrupt Recieved.
 stuff → python -m flax p
flax REPL version 0.1.0
      2√
>
>
1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
@SegFaultPlus4 ^
it was a good idea to use mpmath
 
making an interpeter for an actually useful language seems tough
 
well yes it is
 
 
3 hours later…
2:58 PM
@PyGamer0 can you help me now?
 
why don't you try Etch instead /s
 
yes
ok so lets start by splitting +2×+}×3+1-CC into rules, when it is called dyadically
 
@GingerIndustries I want to learn a tacit lang first, then maybe I'll learn etch
@PyGamer0 ok
 
so what do you think the initial accumulator value would be?
 
uh
2, 0 because + is a dyadic link and 2 is a niladic link?
 
3:01 PM
yes
what about the initial accumulator value?
 
3?
3 and 4 are passed into the chain right?
 
@mathcat yes correct
@mathcat yes
 
okay
 
@mathcat now what is the value after the rule 2, 0?
 
and the result is 5
 
3:03 PM
nice
 
so 3+2 is calculated
I'm lagging now
 
now we shall consider ×+}×3+1-CC with accumulator 5 and args 3 and 4
 
now it's 2, 2
 
good
and what is the accumulator now?
 
and the result is 5×(3+4)=12
 
3:07 PM
yea
 
now }×3+1-CC
result is 11
×3+1-CC
 
hang on
 
there's no 1, 2 command right?
 
no there isnt
 
so it's decrement
oh is it increment?
 
3:11 PM
inc
 
okay
 
and fyi flax gives 35 for +2×+ 3 and 4
 
wait what
 
since 5×(3+4)
= 5×7 = 35
 
well mathed
 
3:13 PM
since we forgot how math works
 
I am confused
 
how?
 
+2 is 2, 0
 
yea
 
so the accumulator is 5
 
3:14 PM
8 mins ago, by mathcat
and the result is 5×(3+4)=12
^ your math ...
 
:face_palm:
I well mathed
 
nice
mathcat :P
 
I should probably change my name
but anyhow
36 then
×3+1-CC
 
yes
 
36*3 is 108
 
3:16 PM
ok
 
C is 1-x?
 
yes
now we have +1-CC
 
109
then 105
 
correct!
 
result is 105?
wohoo
 
3:19 PM
now you know monadic and dyadic chains
 
nice
 
niladic chains are just monadic chains but with tiny differences
 
ah
 
and you now know flax's tacit system (and jelly's tacit system as a bonus)
now i would not recommend answering in CGCC with flax as its still incomplete
still a WIP
and im gone o/
 
okay
\o
 
4:01 PM
@mathcat feel free to ask questions when im gone so i can answer them next time when im online
 
ok
 

« first day (76 days earlier)      last day (645 days later) »