all 11 comments

sorted by: hot top controversial new old
[โ€“] 12 points 10 months ago

If you can compile your lisp to webassembly it will run in the browser

  • source
  • [โ€“] 16 points 10 months ago (1 child)
  • [โ€“] 8 points 10 months ago*

    https://www.gnu.org/software/emacs/manual/html_mono/eww.html

    1 Overview

    EWW, the Emacs Web Wowser, is a web browser for GNU Emacs that provides a simple, no-frills experience that focuses on readability. It loads, parses, and displays web pages using shr.el. It can display images inline, if Emacs was built with image support, but there is no support for CSS or JavaScript.

    To use EWW, you need to use an Emacs built with libxml2 support.

  • source
  • [โ€“] 6 points 10 months ago

    back in the early days with the tag it was possible to run stuff other than javascript on client side (perl for instance)

    i believe lisp should've been also possible..?

  • source
  • [โ€“] 5 points 10 months ago

    If you want to write frontend code with a functional programming language, Elixir may be worth your time.

  • source
  • [โ€“] 3 points 10 months ago

    I mean writing a JavaScript LISP interpreter is rather trivial...

  • source
  • [โ€“] 3 points 10 months ago

    Not sure what you mean exactly. JavaScript, for better or worse, is sort of essential to the modern web. You could write things in Clojurescript, but that still compiles down to js.

    There is Nyxt which is written and extensible with Common Lisp.

  • source
  • [โ€“] [S] -3 points 10 months ago (2 children)

    If no then why nobody has made it already?

  • source
  • hideshow 2 child comments
  • [โ€“] 5 points 10 months ago

    If you made a browser run lisp, it would only be useful for web pages that are scripted with lisp. Most web sites are currently scripted in JavaScript. Adding lisp support to a browser is the easy part. It's like deciding Latin is a better language then English, and then learning it. If you then came here and started using only Latin, it probably wouldn't be very satisfying.

  • source
  • parent