home.social

#phel — Public Fediverse posts

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

fetched live
  1. Adapting clojure-test-suite for Phel. Current test summary:

    Passed: 847
    Failed: 92
    Error: 236
    Total: 1175

    github.com/jasalt/clojure-test

  2. Adapting clojure-test-suite for Phel. Current test summary:

    Passed: 847
    Failed: 92
    Error: 236
    Total: 1175

    github.com/jasalt/clojure-test #clojure #php #lisp #phel

  3. v0.22 new array functions with nested lookup taking inspiration from `get-in`, `put-in / assoc-in`, `unset-in / dissoc-in` working on it's persistent data structures.

    Note: `🐘`symbol is a font-locking decoration for `php/`, not actual Phel syntax.

  4. #Phel v0.22 new #PHP array functions with nested lookup taking inspiration from `get-in`, `put-in / assoc-in`, `unset-in / dissoc-in` working on it's persistent data structures.

    Note: `🐘`symbol is a #Emacs font-locking decoration for `php/`, not actual Phel syntax. #lisp #hack

  5. Designing custom (#PHP lisp) application architecture that can be used via web or cli, ran inside as plugin or standalone, connecting to either MySQL or Sqlite. Hexagonal or "Ports and adapters" type architecture seems to fit the idea. Learning about multimethods and interfaces.. en.wikipedia.org/wiki/Hexagona

  6. Designing custom #Phel (#PHP lisp) application architecture that can be used via web or cli, ran inside #WordPress as plugin or standalone, connecting to either MySQL or Sqlite. Hexagonal or "Ports and adapters" type architecture seems to fit the idea. Learning about multimethods and interfaces.. en.wikipedia.org/wiki/Hexagona

  7. Parsing HTTP headers from stream metadata in while sketching a basic -like HTTP client library. Redirections were giving some grief in the evening but woke up 3am with a neat recursion idea which did the job.

  8. Parsing HTTP headers from #PHP stream metadata in #Phel while sketching a basic #Clojure -like HTTP client library. Redirections were giving some grief in the evening but woke up 3am with a neat recursion idea which did the job.

  9. Plugin for exposing interpreter inside to remote scripting codeberg.org/jasalt/wp-http-ev. Created out of frustration interfacing with a legacy membership site during rebuild / migration without having proper shell / WP-CLI access to old server and database mojibaked beyond comprehension.

  10. Plugin for exposing #Phel #Lisp interpreter inside #WordPress to remote scripting codeberg.org/jasalt/wp-http-ev. Created out of frustration interfacing with a legacy membership site during rebuild / migration without having proper shell / WP-CLI access to old server and database mojibaked beyond comprehension.

  11. Ergonomic interop macro to avoid wrapping every function expecting array as argument which uses a lot.

  12. Ergonomic interop macro to avoid wrapping every function expecting array as argument which #WordPress uses a lot. #phel #php #lisp

  13. Testing simple web form REPL with AMPHP async http-server and printing transpiled PHP and the evaluation result while keeping state between requests. Might run as wasm service worker also which could be nice for interactive web tutorials.

  14. Testing simple #Phel web form REPL with AMPHP async http-server and #datastar printing transpiled PHP and the evaluation result while keeping state between requests. Might run as wasm service worker also which could be nice for interactive web tutorials. #PHP #Lisp

  15. I like writing tests with Phel a lot while I never bothered doing it much with .

    Created a nifty hotkey that switches from namespace to according test namespace or back, and now also creates new test file if existing was not found with skeleton namespace declaration.

    codeberg.org/jasalt/.emacs.d/c

  16. I like writing tests with Phel a lot while I never bothered doing it much with #PHP.

    Created a nifty #Emacs hotkey that switches from #Phel namespace to according test namespace or back, and now also creates new test file if existing was not found with skeleton namespace declaration.

    codeberg.org/jasalt/.emacs.d/c

  17. Learned `binding` function in / , convenient for testing stateful things.

  18. Learned `binding` function in #Phel / #Clojure, convenient for testing stateful things.

  19. Very advanced REPL experience on the command line github.com/openvest/repl-balan . Jaw dropping after working with bare bones for last couple months. .

  20. Very advanced REPL experience on the command line github.com/openvest/repl-balan #Clojure. Jaw dropping after working with bare bones #Phel #REPL for last couple months. #Lisp #Emacs.

  21. Working on Phel (#Lisp) plugin skeleton. not recognizing as a language yet it weights being more of a Shell project than PHP with the development container scripts added.

    github.com/jasalt/phel-wp-plug

  22. Working on Phel (#Lisp) #WordPress plugin skeleton. #Github not recognizing #Phel as a language yet it weights being more of a Shell project than PHP with the development container scripts added.

    github.com/jasalt/phel-wp-plug

  23. Project is on now to make (#Lisp) a part of mainstream the ecosystem github.com/jasalt/phel-wp-plug.

  24. Wondering what it would take to be able to use reader conditionals for sharing some logic between (#PHP) and Basilisp (#Python). It could allow eg. writing extensions to both and platforms from same server side codebase. clojure.org/guides/reader_cond

  25. Wondering what it would take to be able to use reader conditionals for sharing some #Clojure logic between #Phel (#PHP) and Basilisp (#Python). It could allow eg. writing extensions to both #WordPress and #Odoo platforms from same server side codebase. clojure.org/guides/reader_cond