Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fukuoka.rb 2023 年度活動報告

jinroq
January 07, 2024

Fukuoka.rb 2023 年度活動報告

2024-01-07 FUKUOKA Engineers Day 2024 rebuild

jinroq

January 07, 2024
Tweet

More Decks by jinroq

Other Decks in Technology

Transcript

  1. Fukuoka.rb ͱ͸ • ஍Ҭ Rubyist ίϛϡχςΟʔ • ຖिਫ༵೔։࠵ • جຊతʹ΋͘΋͘ճ

    • ΍Γ͍ͨࣄΛ΍Δ • ੒Ռൃද͸ಛʹͳ͠ • ؾ͕࣋ͪߴ·Δͱ LT େձͱ͔͢Δ
  2. Fukuoka.rb 2023 ೥౓࣮੷ • ߹ܭ 49 ճ։࠵ʢ#289ʙ#337ʣ • ௨ৗճ 48

    ճ • Ninja Talk େձʢ#333ʣ • Χ΢ϯτର৅֎ • ෱Ԭ Rubyistձٞ 03 • Nishitetsu.rbʢ#3, #4ʣ • υϥΰϯΛ౗͠ʹߦ͜͏ʢ#1ʣ • Ruby Hack Challenge Holiday in ෱Ԭʢ#1ʣ
  3. Fukuoka.rb 2023 ೥౓࣮੷ • ߹ܭ 49 ճ։࠵ʢ#289ʙ#337ʣ • ௨ৗճ 48

    ճ • Ninja Talk େձʢ#333ʣ • Χ΢ϯτର৅֎ • ෱Ԭ Rubyistձٞ 03 • Nishitetsu.rbʢ#3, #4ʣ • υϥΰϯΛ౗͠ʹߦ͜͏ʢ#1ʣ • Ruby Hack Challenge Holiday in ෱Ԭʢ#1ʣ
  4. Fukuoka.rb 2023 ೥౓࣮੷ • ߹ܭ 49 ճ։࠵ʢ#289ʙ#337ʣ • ௨ৗճ 48

    ճ • Ninja Talk େձʢ#333ʣ • Χ΢ϯτର৅֎ • ෱Ԭ Rubyistձٞ 03 • Nishitetsu.rbʢ#3, #4ʣ • υϥΰϯΛ౗͠ʹߦ͜͏ʢ#1ʣ • Ruby Hack Challenge Holiday in ෱Ԭʢ#1ʣ
  5. Ruby Parser ͷ 1 ෼ྺ࢙ • ౰ॳ͸ Yacc Λ࢖ͬͯ Ruby

    ͷจ๏Λղऍ͍ͯͨ͠ • Yacc Ͱ͸͠ΜͲ͘ͳ͖ͬͯͨͷͰ Bison Λಋೖͨ͠ • Bison Ͱ΋ Ruby ͷจ๏Λࣗಈੜ੒͢Δͷ͸ͭΒ͔ͬͨ • lexer ͷ෦෼΍ parser ͷ෦෼Ͱ͋ΓΌ͜ΓΌؤுͬͨ݁Ռɺparse.y ͕ ௒ෳࡶʹͳͬͨʢRuby ೋେຐڥͷͻͱͭʣ • parse.y ΛϝϯςφϯεͰ͖Δਓ͸ۃʑΘ͔ͣͳਓ͚ͩʹͳͬͨ
  6. Ruby Parser ͷ 1 ෼ྺ࢙ • ౰ॳ͸ Yacc Λ࢖ͬͯ Ruby

    ͷจ๏Λղऍ͍ͯͨ͠ • Yacc Ͱ͸͠ΜͲ͘ͳ͖ͬͯͨͷͰ Bison Λಋೖͨ͠ • Bison Ͱ΋ Ruby ͷจ๏Λࣗಈੜ੒͢Δͷ͸ͭΒ͔ͬͨ • lexer ͷ෦෼΍ parser ͷ෦෼Ͱ͋ΓΌ͜ΓΌؤுͬͨ݁Ռɺparse.y ͕ ௒ෳࡶʹͳͬͨʢRuby ೋେຐڥͷͻͱͭʣ • parse.y ΛϝϯςφϯεͰ͖Δਓ͸ۃʑΘ͔ͣͳਓ͚ͩʹͳͬͨ
  7. Ruby Parser ͷ 1 ෼ྺ࢙ • ౰ॳ͸ Yacc Λ࢖ͬͯ Ruby

    ͷจ๏Λղऍ͍ͯͨ͠ • Yacc Ͱ͸͠ΜͲ͘ͳ͖ͬͯͨͷͰ Bison Λಋೖͨ͠ • Bison Ͱ΋ Ruby ͷจ๏Λࣗಈੜ੒͢Δͷ͸ͭΒ͔ͬͨ • lexer ͷ෦෼΍ parser ͷ෦෼Ͱ͋ΓΌ͜ΓΌؤுͬͨ݁Ռɺparse.y ͕ ௒ෳࡶʹͳͬͨʢRuby ೋେຐڥͷͻͱͭʣ • parse.y ΛϝϯςφϯεͰ͖Δਓ͸ۃʑΘ͔ͣͳਓ͚ͩʹͳͬͨ
  8. Ruby Parser ͷ 1 ෼ྺ࢙ • ౰ॳ͸ Yacc Λ࢖ͬͯ Ruby

    ͷจ๏Λղऍ͍ͯͨ͠ • Yacc Ͱ͸͠ΜͲ͘ͳ͖ͬͯͨͷͰ Bison Λಋೖͨ͠ • Bison Ͱ΋ Ruby ͷจ๏Λࣗಈੜ੒͢Δͷ͸ͭΒ͔ͬͨ • lexer ͷ෦෼΍ parser ͷ෦෼Ͱ͋ΓΌ͜ΓΌؤுͬͨ݁Ռɺparse.y ͕ ௒ංେͯ͠௒ෳࡶʹͳͬͨʢRuby ೋେຐڥͷͻͱͭʣ • parse.y ΛϝϯςφϯεͰ͖Δਓ͸ۃʑΘ͔ͣͳਓ͚ͩʹͳͬͨ
  9. Ruby Parser ͷ 1 ෼ྺ࢙ • ౰ॳ͸ Yacc Λ࢖ͬͯ Ruby

    ͷจ๏Λղऍ͍ͯͨ͠ • Yacc Ͱ͸͠ΜͲ͘ͳ͖ͬͯͨͷͰ Bison Λಋೖͨ͠ • Bison Ͱ΋ Ruby ͷจ๏Λࣗಈੜ੒͢Δͷ͸ͭΒ͔ͬͨ • lexer ͷ෦෼΍ parser ͷ෦෼Ͱ͋ΓΌ͜ΓΌؤுͬͨ݁Ռɺparse.y ͕ ௒ංେͯ͠௒ෳࡶʹͳͬͨʢRuby ೋେຐڥͷͻͱͭʣ • parse.y ΛϝϯςφϯεͰ͖Δਓ͸ۃʑΘ͔ͣͳਓ͚ͩʹͳͬͨ
  10. LSP ͕ Ruby Parser ʹٻΊΔ΋ͷ • ߴ଎ʹ Ruby ͷจ๏Λղऍͯ͠ཉ͍͠ •

    ߏจΤϥʔΛ୯ͳΔ Syntax Error ʹ͠ͳ͍Ͱཉ͍͠ • “a =“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ม਺ະॳظԽͱڭ͑ͯཉ͍͠ • “a(“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ׅހ͕ด͡ΒΕ͍ͯͳ͍͜ͱΛڭ͑ͯཉ͍͠ • “a.” ͱॻ͔Ε͍ͯͨΒ a ͕ nil Ͱ͋Ε͹ະॳظԽͰ͋Δ͜ͱΛɺa ͕Կ͔͠Βͷ 
 ΠϯελϯεͰ͋Ε͹ݺͼग़͠ՄೳͳϝιουΛิ׬ͯ͠ཉ͍͠
  11. LSP ͕ Ruby Parser ʹٻΊΔ΋ͷ • ߴ଎ʹ Ruby ͷจ๏Λղऍͯ͠ཉ͍͠ •

    ߏจΤϥʔΛ୯ͳΔ Syntax Error ʹ͠ͳ͍Ͱཉ͍͠ • “a =“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ม਺ະॳظԽͱڭ͑ͯཉ͍͠ • “a(“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ׅހ͕ด͡ΒΕ͍ͯͳ͍͜ͱΛڭ͑ͯཉ͍͠ • “a.” ͱॻ͔Ε͍ͯͨΒ a ͕ nil Ͱ͋Ε͹ະॳظԽͰ͋Δ͜ͱΛɺa ͕Կ͔͠Βͷ 
 ΠϯελϯεͰ͋Ε͹ݺͼग़͠ՄೳͳϝιουΛิ׬ͯ͠ཉ͍͠
  12. LSP ͕ Ruby Parser ʹٻΊΔ΋ͷ • ߴ଎ʹ Ruby ͷจ๏Λղੳͯ͠ཉ͍͠ •

    ߏจΤϥʔΛ୯ͳΔ Syntax Error ʹ͠ͳ͍Ͱཉ͍͠ • “a =“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ม਺ະॳظԽͱڭ͑ͯཉ͍͠ • “a(“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ׅހ͕ด͡ΒΕ͍ͯͳ͍͜ͱΛڭ͑ͯཉ͍͠ • “a.” ͱॻ͔Ε͍ͯͨΒ a ͕ nil Ͱ͋Ε͹ະॳظԽͰ͋Δ͜ͱΛɺa ͕Կ͔͠Βͷ 
 ΠϯελϯεͰ͋Ε͹ݺͼग़͠ՄೳͳϝιουΛิ׬ͯ͠ཉ͍͠
  13. LSP ͕ Ruby Parser ʹٻΊΔ΋ͷ • ߴ଎ʹ Ruby ͷจ๏Λղੳͯ͠ཉ͍͠ •

    ߏจΤϥʔΛ୯ͳΔ Syntax Error ʹ͠ͳ͍Ͱཉ͍͠ • “a =“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ม਺ະॳظԽͱڭ͑ͯཉ͍͠ • “a(“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ׅހ͕ด͡ΒΕ͍ͯͳ͍͜ͱΛڭ͑ͯཉ͍͠ • “a.” ͱॻ͔Ε͍ͯͨΒ a ͕ nil Ͱ͋Ε͹ະॳظԽͰ͋Δ͜ͱΛɺa ͕Կ͔͠Βͷ 
 ΠϯελϯεͰ͋Ε͹ݺͼग़͠ՄೳͳϝιουΛิ׬ͯ͠ཉ͍͠
  14. LSP ͕ Ruby Parser ʹٻΊΔ΋ͷ • ߴ଎ʹ Ruby ͷจ๏Λղੳͯ͠ཉ͍͠ •

    ߏจΤϥʔΛ୯ͳΔ Syntax Error ʹ͠ͳ͍Ͱཉ͍͠ • “a =“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ม਺ະॳظԽͱڭ͑ͯཉ͍͠ • “a(“ ·Ͱॻ͔Ε͍ͯΔίʔυ͸ׅހ͕ด͡ΒΕ͍ͯͳ͍͜ͱΛڭ͑ͯཉ͍͠ • “a.” ͱॻ͔Ε͍ͯͨΒ a ͕ nil Ͱ͋Ε͹ະॳظԽͰ͋Δ͜ͱΛɺa ͕Կ͔͠Βͷ 
 ΠϯελϯεͰ͋Ε͹ݺͼग़͠ՄೳͳϝιουΛิ׬ͯ͠ཉ͍͠
  15. Ruby Parser ͷ৽͍͠Ξϓϩʔν • Prism • खॻ͖ύʔαʔʢC ݴޠͰ࣮૷ʣ • ύʔαʔδΣωϨʔλʔΛ࢖Θͳ͍

    • ݱ࣌఺Ͱ͸ඪ४ఴ෇ϥΠϒϥϦ͕ͩɺRuby ຊମͷύʔαʔͱஔ͖׵͑Δ͜ͱΛ໨ඪʹ͍ͯ͠Δ • Lrama • Ruby ੡ͷύʔαʔδΣωϨʔλʔ • ैདྷ͔Β͋Δ parse.y ΛൃలతʹΑΓॻ͖΍͘͢͢ΔΞϓϩʔν • parse.y ͕௒ෳࡶͳͷ͸ɺBNF ه๏͕ѱ͍ͷͰ͸ͳ͘ Bison ͕ΑΖ͘͠ͳ͍ͷͰ͸ʁ
  16. Ruby Parser ͷ৽͍͠Ξϓϩʔν • Prism • खॻ͖ύʔαʔʢC ݴޠͰ࣮૷ʣ • ύʔαʔδΣωϨʔλʔΛ࢖Θͳ͍

    • ݱ࣌఺Ͱ͸ඪ४ఴ෇ϥΠϒϥϦ͕ͩɺRuby ຊମͷύʔαʔͱஔ͖׵͑Δ͜ͱΛ໨ඪʹ͍ͯ͠Δ • Lrama • Ruby ੡ͷύʔαʔδΣωϨʔλʔ • ैདྷ͔Β͋Δ parse.y ΛൃలతʹΑΓॻ͖΍͘͢͢ΔΞϓϩʔν • parse.y ͕௒ෳࡶͳͷ͸ɺBNF ه๏͕ѱ͍ͷͰ͸ͳ͘ Bison ͕ΑΖ͘͠ͳ͍ͷͰ͸ʁ
  17. Ruby Parser ͷ৽͍͠Ξϓϩʔν • Prism • खॻ͖ύʔαʔʢC ݴޠͰ࣮૷ʣ • ύʔαʔδΣωϨʔλʔΛ࢖Θͳ͍

    • ݱ࣌఺Ͱ͸ඪ४ఴ෇ϥΠϒϥϦ͕ͩɺRuby ຊମͷύʔαʔͱஔ͖׵͑Δ͜ͱΛ໨ඪʹ͍ͯ͠Δ • Lrama • Ruby ੡ͷύʔαʔδΣωϨʔλʔ • ैདྷ͔Β͋Δ parse.y ΛൃలతʹΑΓॻ͖΍͘͢͢ΔΞϓϩʔν • parse.y ͕௒ෳࡶͳͷ͸ɺBNF ه๏͕ѱ͍ͷͰ͸ͳ͘ Bison ͕ΑΖ͘͠ͳ͍ͷͰ͸ʁ
  18. ؇ื • ෱Ԭ Rubyistձٞ 04 ͷ΢ΣϒσβΠφʔΛืूத • एׯҰ໊ • ँྱۚ͋Γʢ03

    ࣮੷ɿ5 ສԁʣ • ࢀߟɿ https://regional.rubykaigi.org/fukuoka03/