home.social

#transpiler — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #transpiler, aggregated by home.social.

fetched live
  1. Интересные развлечения со змеей

    На этот раз у нас известный язык программирования Python , c двумя стилизованными змеями на логотипе , интересные и необычные развлечения с которым были собраны в этой замечательной статье.

    habr.com/ru/companies/timeweb/

    #python #obfuscation #linux #transpiler #weird #ненормальное_программирование #timeweb_статьи_выходного_дня

  2. I'm going to be weird and defend the term #transpiler for the thing that converts TypeScript to JavaScript and similar. The main argument against the term is that it's "just a compiler". I will agree, it is a compiler. But, is a program that compiles C code to machine code a transpiler? No, it's not. So, a transpiler is a compiler, but not every compiler is a transpiler. That means the word conveys *more meaning* than "just a compiler". This has been another installment from the Angry Linguist.

  3. I'm going to be weird and defend the term #transpiler for the thing that converts TypeScript to JavaScript and similar. The main argument against the term is that it's "just a compiler". I will agree, it is a compiler. But, is a program that compiles C code to machine code a transpiler? No, it's not. So, a transpiler is a compiler, but not every compiler is a transpiler. That means the word conveys *more meaning* than "just a compiler". This has been another installment from the Angry Linguist.

  4. #tinycc based #RStats #C #Transpiler, only 4x slower than #{quickr} for the convolution benchmark ! 2-3x faster than naive #C + marshaling. #tinycc transpilation will have an obvious advantage since it can always fallback when transpiling and use `Rf_lang3` since it has access to R's C runtime !

    RE: https://bsky.app/profile/did:plc:hmk4f5yf3ohtsvw32sbtwvk3/post/3memwdbpbqs22

  5. #tinycc based #RStats #C #Transpiler, only 4x slower than #{quickr} for the convolution benchmark ! 2-3x faster than naive #C + marshaling. #tinycc transpilation will have an obvious advantage since it can always fallback when transpiling and use `Rf_lang3` since it has access to R's C runtime !

    RE: https://bsky.app/profile/did:plc:hmk4f5yf3ohtsvw32sbtwvk3/post/3memwdbpbqs22

  6. @akkartik Since #Forth is just so great for super concise code, allow me to add another example, here to transpile (a subset of) Forth into GLSL for livecoding shaders. This one is using my old 2015 CharlieVM and you can find all the example source snippets in the readme here:

    github.com/thi-ng/charlie

    The REPL itself live at:
    forth.thi.ng/

    The attached screen capture shows 4 shader examples (longest one is 12 lines of code)

    #Livecoding #REPL #GLSL #Shader #Transpiler

  7. @akkartik Since #Forth is just so great for super concise code, allow me to add another example, here to transpile (a subset of) Forth into GLSL for livecoding shaders. This one is using my old 2015 CharlieVM and you can find all the example source snippets in the readme here:

    github.com/thi-ng/charlie

    The REPL itself live at:
    forth.thi.ng/

    The attached screen capture shows 4 shader examples (longest one is 12 lines of code)

    #Livecoding #REPL #GLSL #Shader #Transpiler

  8. New account, so new #introduction. Let's do it again!

    I have a
    #MastersDegree in #ComputerScience and #ComputerEngineering. I went to #NMU for undergrad and #MSU for my graduate degree. I currently work at #UChicago for the #TMWCenter, which focuses on helping young children acquire language (and therefore other learning skills) faster.

    In my spare time, I develop
    #OpenSourceSoftware such as
    - a
    #SphinxDoc extension that embed #Fediverse comments on your page
    - a library to talk to
    #ManifoldMarkets from native #Python
    - a
    #PredictionMarket manager using the above
    - a
    #transpiler from a subset of Python to #OpenStreetMaps's #OverpassQL
    - bug fixes to many other projects, including
    #mypy, #base58, #attrs, #CPython, & more

    I spend a fair bit of my time these days on
    #MathResearch, specifically into the #ThueMorse Sequence and its extensions.

    I'm also a hobbyist editor on OpenStreetMap.

    #Demisexual, #transfem, and happily engaged to my #enby sweetheart.

    We have two cats:
    #OpheTheLoaf and #MayalaranTheCat (yes, from #StormlightArchive) See here for more on them!

    I speak English fluently, Spanish haltingly, and am trying to learn Chinese

    #queer #Chicago

  9. New account, so new #introduction. Let's do it again!

    I have a
    #MastersDegree in #ComputerScience and #ComputerEngineering. I went to #NMU for undergrad and #MSU for my graduate degree. I currently work at #UChicago for the #TMWCenter, which focuses on helping young children acquire language (and therefore other learning skills) faster.

    In my spare time, I develop
    #OpenSourceSoftware such as
    - a
    #SphinxDoc extension that embed #Fediverse comments on your page
    - a library to talk to
    #ManifoldMarkets from native #Python
    - a
    #PredictionMarket manager using the above
    - a
    #transpiler from a subset of Python to #OpenStreetMaps's #OverpassQL
    - bug fixes to many other projects, including
    #mypy, #base58, #attrs, #CPython, & more

    I spend a fair bit of my time these days on
    #MathResearch, specifically into the #ThueMorse Sequence and its extensions.

    I'm also a hobbyist editor on OpenStreetMap.

    #Demisexual, #transfem, and happily engaged to my #enby sweetheart.

    We have two cats:
    #OpheTheLoaf and #MayalaranTheCat (yes, from #StormlightArchive) See here for more on them!

    I speak English fluently, Spanish haltingly, and am trying to learn Chinese

    #queer #Chicago

  10. Oh dang, my #introduction post is waaay out of date now. Let's do it again!

    I have a #MastersDegree in #ComputerScience and #ComputerEngineering. I went to #NMU for undergrad and #MSU for my graduate degree. I currently work at #UChicago for the #TMWCenter, which focuses on helping young children acquire language (and therefore other learning skills) faster.

    In my spare time, I develop #OpenSourceSoftware such as

    I spend a fair bit of my time these days on #MathResearch, specifically into the #ThueMorse Sequence and its extensions.

    I'm also a hobbyist editor on OpenStreetMap.

    #Demisexual, #transfem, and happily engaged to my #enby sweetheart.

    We have two cats: #OpheTheLoaf and #MayalaranTheCat (yes, from #StormlightArchive)

    #queer #Chicago

  11. Oh dang, my #introduction post is waaay out of date now. Let's do it again!

    I have a #MastersDegree in #ComputerScience and #ComputerEngineering. I went to #NMU for undergrad and #MSU for my graduate degree. I currently work at #UChicago for the #TMWCenter, which focuses on helping young children acquire language (and therefore other learning skills) faster.

    In my spare time, I develop #OpenSourceSoftware such as

    I spend a fair bit of my time these days on #MathResearch, specifically into the #ThueMorse Sequence and its extensions.

    I'm also a hobbyist editor on OpenStreetMap.

    #Demisexual, #transfem, and happily engaged to my #enby sweetheart.

    We have two cats: #OpheTheLoaf and #MayalaranTheCat (yes, from #StormlightArchive)

    #queer #Chicago

  12. For everybody who is interested in COBOL or Go, my latest article is about an interesting COBOL to Go transpiler. You can read the article here: tderflinger.com/en/how-automat #cobol #golang #programming #transpiler

  13. Pnut: A Self-Compiling C Transpiler Targeting Human-Readable POSIX Shell - Shell scripting is one of those skills that are absolutely invaluable on especiall... - hackaday.com/2024/07/25/pnut-a #softwaredevelopment #shellscripting #transpiler

  14. Pnut: A Self-Compiling C Transpiler Targeting Human-Readable POSIX Shell - Shell scripting is one of those skills that are absolutely invaluable on especiall... - hackaday.com/2024/07/25/pnut-a #softwaredevelopment #shellscripting #transpiler

  15. TarantoolScript: статическая типизация в Lua-скриптах Tarantool

    Если вам когда-нибудь доводилось писать скрипты для Тарантула, то вы наверняка сможете понять мою боль. Тарантул - удивительный инструмент, который позволяет не только хранить относительно большие объёмы данных и обеспечивать поразительно быстрое выполнение операций CRUD над этими данными, но и предоставляет очень широкие возможности для обработки этих данных непосредственно в среде Тарантула. И под обработкой данных я имею ввиду не просто их валидацию и выполнение над ними каких-то математических операций, а почти весь спектр возможностей, предоставляемых языком Lua и ещё целую кучу полезных модулей, входящих в пакет поставки Тарантула или устанавливаемых из сторонних источников. Для того чтобы написать, например, полноценный HTTP-сервер на Тарантуле (прошу не пинать меня за эту формулировку), нам нужно знать совсем немного - основы синтаксиса языка Lua и API основных модулей самого Тарантула. И вот если с Lua всё совсем просто - изучить этот язык за один вечер, я уверен, мало для кого окажется непосильной задачей - то вот с модулями Тарантула всё немного сложнее. Можно вдоль и поперёк проштудировать всю официальную документацию и уже непосредственно во время написания скрипта столкнуться с одной неприятной проблемой - писать относительно большие вещи для Тарантула жутко неудобно.

    habr.com/ru/articles/810579/

    #typescript #lua #tarantool #transpilation #transpiler #static_typing

  16. NTW3 Объяснение Примера

    Объяснение того, как пользоваться моим очередным (возможно) бесполезным проектом-велопипедом. В статье подробно объясняется большинство моментов и приннципов работы NTW3. я старался сделать создание сайтов больше похожим на создание обычным приложений, благодаря чему получился необычный подход. Надеюсь, будет интересно почитать!

    habr.com/ru/articles/805529/

    #ntw3 #web #compiler #transpiler #webdesign #компиляторы #транспиляторы #вебсайт

  17. Many people say that #Rust is very hard to #prototype with or to #refactor. This couldn't be further from the truth! It is the exact opposite!

    Let me share with you one of the most profound experiences I had with #RustLang on a casual sunday - a thread 🧵

    I'm currently rewriting my #transpiler from #nom to #chumsky and until now everything has turned out great so far, until I've hit the following road block:
    Implementing parsers by using #parser functions that have indirect #recursion.

    1/11

  18. Many people say that #Rust is very hard to #prototype with or to #refactor. This couldn't be further from the truth! It is the exact opposite!

    Let me share with you one of the most profound experiences I had with #RustLang on a casual sunday - a thread 🧵

    I'm currently rewriting my #transpiler from #nom to #chumsky and until now everything has turned out great so far, until I've hit the following road block:
    Implementing parsers by using #parser functions that have indirect #recursion.

    1/11

  19. While I'm rewriting my #transpiler from #nom to #chumsky, I'm actually thinking about writing a nom-to-chumsky transpiler...

    ➰ 🙃

    #Compiler

  20. While I'm rewriting my #transpiler from #nom to #chumsky, I'm actually thinking about writing a nom-to-chumsky transpiler...

    ➰ 🙃

    #Compiler

  21. Today's #ReleaseSunday features a major update for the thi.ng/meta-css toolchain, a data-driven codegen for creating custom modular CSS frameworks, incl. transpiler, bundler, dev/watch mode...

    The new version supports callable parametric templates, which not only help to reduce the overall API surface (i.e. the total number of rules) of a generated CSS framework, but also enable advanced operations like those shown in the attached images (e.g. declarations of CSS color variables (in rgb, hsl, lch, or oklch modes) and pure CSS color per-color-channel adjustments...).

    Also new, is added support for documentation metadata for all generative CSS class & template specs (incl. template params). Parts of the readme are generated from these embedded docs and the next version will include a new CLI command to generate Markdown files from/for these CSS docs...

    The readme for this package is already pretty detailed by now and should cover most important patterns and usage (incl. the new template features). Take a look (also the examples linked from the readme)!

    github.com/thi-ng/umbrella/blo

    #ThingUmbrella #CSS #Frontend #Transpiler #Bundler #Color #CLI #OpenSource

  22. Today's #ReleaseSunday features a major update for the thi.ng/meta-css toolchain, a data-driven codegen for creating custom modular CSS frameworks, incl. transpiler, bundler, dev/watch mode...

    The new version supports callable parametric templates, which not only help to reduce the overall API surface (i.e. the total number of rules) of a generated CSS framework, but also enable advanced operations like those shown in the attached images (e.g. declarations of CSS color variables (in rgb, hsl, lch, or oklch modes) and pure CSS color per-color-channel adjustments...).

    Also new, is added support for documentation metadata for all generative CSS class & template specs (incl. template params). Parts of the readme are generated from these embedded docs and the next version will include a new CLI command to generate Markdown files from/for these CSS docs...

    The readme for this package is already pretty detailed by now and should cover most important patterns and usage (incl. the new template features). Take a look (also the examples linked from the readme)!

    github.com/thi-ng/umbrella/blo

    #ThingUmbrella #CSS #Frontend #Transpiler #Bundler #Color #CLI #OpenSource

  23. Currently in the process of rewriting my #transpiler from #nom v4.2 to #chumsky v1.0.0-alpha.6 🤓

    It is a lot of fun so far, but I have to say these type signatures are _wild_!😄

    I'm still struggling with it far more than I'd like, but I guess it is just a matter of time until intuition kicks in and it will become more and more natural.

    Exciting project ahead!🙂

    I'm even able to parse string literals _with escape sequences_ - something I haven't even achieved with nom!

    #Rust #RustLang

  24. The feeling when you bang your head against the wall for 3 hours and then just try something, but don't really believe in it and suddenly all your unit tests pass! 🎉 :awesome:

    This is the beauty of #TestDrivenDevelopment - you can just try and _guess_ until it works.😄 It's such a funny experience!

    #Rust #RustLang #Struggle #TDD #Transpiler #Compiler #selecuery #Happy

  25. It's alive!🎉

    I've built a #transpiler in #Rust, compiled it to #WASM and integrated it into a #Vue app! :awesome:

    It's called selecuery.✨

    It can transpile X++ select statements into query expressions. If you think "X++" is a typo and you don't have any idea of what I'm talking about, don't worry.😄

    Have a look at the video below.

    This project is dear to my heart! ❤️ I've started it 2019 for learning #RustLang.

    I think, I've been transpiled during this project as well.🤪

    #Compiler #Magic

  26. Urgh, #Rust + #WASM + #Vue is such a dream stack! ✨ 💖

    Stay tuned for some magic in the next few days... 🤞

    #RustLang #VueJS #WebAssembly #Transpiler(:awesome:)

  27. @wilfredh Super cool stuff! 🤓

    @musicmatze I've used nom for a #transpiler once. It's a great library.

    However, if I could decide today, I'd probably use #chomsky by @jsbarretto

    lib.rs/crates/chumsky

    It has really great error recovery!

    Parsing and grammars are such an interesting topic! 🤓
    I can highly recommend the following resource. Such a treasure!

    tomassetti.me/

    Maybe start with this article:

    A #Guide to #Parsing: #Algorithms and Terminology

    tomassetti.me/guide-parsing-al

  28. So, for whatever reason, you want to evaluate JavaScript in Go?

    Say no more fam »
    Meet Otto: the JavaScript Interpreter in Go
    github.com/robertkrimen/otto

    #javascript #interpreter #transpiler #libraries #tools #go