havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview1: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
johnjaye has quit [Quit: WeeChat 4.0.0-dev]
johnjaye has joined #ruby
willfish has joined #ruby
willfish has quit [Quit: WeeChat 4.0.2]
r3m has quit [Quit: WeeChat 4.1.0-dev]
r3m has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 256 seconds]
desnudopenguino1 is now known as desnudopenguino
constxqt has quit [Ping timeout: 250 seconds]
johnjaye has quit [Ping timeout: 260 seconds]
johnjaye has joined #ruby
konsolebox has joined #ruby
constxqt has joined #ruby
constxqt has quit [Ping timeout: 246 seconds]
constxqt has joined #ruby
konsolebox has quit [Ping timeout: 246 seconds]
constxqt has quit [Ping timeout: 246 seconds]
splud has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
konsolebox has quit [Client Quit]
konsolebox has joined #ruby
konsolebox has quit [Remote host closed the connection]
<johnjaye> random thought but are there ruby->X language translators for language X?
<johnjaye> i noticed lua and python both also do the whitespace indenting, optional semicolons, and just 'function' instead of def. but it even uses 'end' as the end block
shokohsc51087 has joined #ruby
shokohsc5108 has quit [Ping timeout: 256 seconds]
shokohsc51087 is now known as shokohsc5108
constxqt has joined #ruby
konsolebox has joined #ruby
Guest0 has joined #ruby
Guest0 has quit [Client Quit]
grenierm has joined #ruby
grenierm has quit [Client Quit]
<newton> wym by whitespace indenting? lua and ruby do not
<newton> * do not require indenting
grenierm has joined #ruby
<newton> you could probably use gpt ;P
<newton> ruby metaprogramming would make using it as a transpiler awkward, I think
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
constxqt has quit [Ping timeout: 244 seconds]
Sankalp has quit [Ping timeout: 245 seconds]
Sankalp has joined #ruby
joto has quit [Read error: Connection reset by peer]
joto has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
<ox1eef_> johnjaye: ChatGPT is supposedly good at that. Never tried though.
crespire1 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
janusx has joined #ruby
constxqt has joined #ruby
janusx has quit [Ping timeout: 256 seconds]
konsolebox has quit [Quit: Leaving]
_ht has joined #ruby
nmollerup has quit [Quit: Leaving]
crespire has joined #ruby
crespire1 has quit [Ping timeout: 248 seconds]
taupiqueur_shiny has joined #ruby
nkm has joined #ruby
konsolebox has joined #ruby
constxqt has quit [Ping timeout: 260 seconds]
nkm has quit [Quit: Client closed]
nkm has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
constxqt has joined #ruby
nakilon has joined #ruby
nakilon has quit [Quit: Client closed]
dalan03822 has quit [Quit: dalan03822]
dalan03822 has joined #ruby
constxqt has quit [Ping timeout: 252 seconds]
grenierm has quit [Ping timeout: 246 seconds]
iodan has joined #ruby
nkm has quit [Quit: Client closed]
splud has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
taupiqueur_shiny has quit [Remote host closed the connection]
konsolebox has quit [Quit: Leaving]
RDMengineer has quit [Quit: Ping timeout (120 seconds)]
RDMengineer has joined #ruby
konsolebox has joined #ruby
<adam12> johnjaye: Opal or Ruby2JS for Ruby->JS (Opal being a runtime and Ruby2JS mostly just transpiling)
brokkoli_orig has quit [Quit: (Leaving)]
brokkoli_origin has joined #ruby
nkm has joined #ruby
<ox1eef_> Gem-ified my optparse abstraction: https://github.com/0x1eef/cmd.rb#readme
<ox1eef_> Probably will use 'as: Regexp' instead of plain Regexp for the type-coercion stuff.
deadmarshal_ has quit [Remote host closed the connection]
lester29 has quit [Remote host closed the connection]
shokohsc51087 has joined #ruby
shokohsc5108 has quit [Ping timeout: 248 seconds]
shokohsc51087 is now known as shokohsc5108
nkm has quit [Quit: Client closed]
some14u has joined #ruby
<johnjaye> ox1eef_: i thought it was funny because apparently ruby and python aren't the only 'significant whitespace' languages around
<johnjaye> so translating a block of code would be easier. could just do it with regex
<johnjaye> maybe significant whitespace is just trendy for the last few decades
brokkoli_origin has quit [Ping timeout: 245 seconds]
brokkoli_origin has joined #ruby
c10l6 has quit [Quit: See ya! o/]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 250 seconds]
deadmarshal_ has joined #ruby
duderonomy has joined #ruby
lester29 has joined #ruby
Linux_Kerio has quit [Ping timeout: 245 seconds]
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #ruby
tomtmym has quit [Quit: Gone.]
<newton> johnjaye, what do you mean by significant whitespace? ruby does not require you to use whitespace.
_ht has quit [Remote host closed the connection]
<johnjaye> as opposed to c and java where all whitespace is treated the same and you use {} for blocks
<johnjaye> oh i see. so ruby doens't actually care about indentation. it just appears that way
<leftylink> why did it appear that way?
<leftylink> statement not meant to be interpreted with a tone of hostility but instead with a tone of curiosity
<weaksauce> i consider significant whitespace to be something like python or haml or yml
<weaksauce> where it actually means something to indent
r3m has quit [Quit: WeeChat 4.1.0-dev]
r3m has joined #ruby
<ox1eef_> johnjaye: Ruby is not like Python in that regard. Python uses whitespace to close a method, if statement, class, etc but ruby is using keywords (start with: class, module, if, etc ands ends with 'end').
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
John_Ivan has joined #ruby
desnudopenguino has quit [Ping timeout: 245 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
desnudopenguino has joined #ruby
<ox1eef_> Imagine being a tourist landing on a plane into that. I'd cancel for sure.
szkl has joined #ruby
notaclue22 has joined #ruby
notaclue22 has left #ruby [#ruby]
konsolebox has quit [Ping timeout: 246 seconds]
janusx has joined #ruby
janusy has joined #ruby
janusx has quit [Ping timeout: 260 seconds]
janusy has quit [Read error: Connection reset by peer]