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

09:50
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
antifreeze
i am stopping this room from freezing
its been 2 hours ...
i fixed a flag
11:34
@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…
14:58
@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?
15:01
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
15:03
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
15:07
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?
15:11
inc
okay
and fyi flax gives 35 for +2×+ 3 and 4
wait what
since 5×(3+4)
= 5×7 = 35
well mathed
15:13
since we forgot how math works
I am confused
how?
+2 is 2, 0
so the accumulator is 5
15:14
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
36*3 is 108
15:16
ok
C is 1-x?
yes
now we have +1-CC
109
then 105
correct!
result is 105?
wohoo
15:19
now you know monadic and dyadic chains
nice
niladic chains are just monadic chains but with tiny differences
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
16:01
@mathcat feel free to ask questions when im gone so i can answer them next time when im online

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