GithubHelp home page GithubHelp logo

cljs-bootstrap's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cljs-bootstrap's Issues

Error connecting to http://localhost:9000/repl

I followed the instructions and the node repl works. After I do:

lein run -m clojure.main script/browser.clj

and launch the server, I get a "Failed to load resource: net::ERR_CONNECTION_REFUSED"
http://localhost:9000/repl?xpc=%7B%22cn%22%3A%22GughUVB9bi%22%2C%22tp%22%3Aโ€ฆs.txt%22%2C%22lpu%22%3A%22http%3A%2F%2Flocalhost%3A9000%2Frobots.txt%22%7D

presumably from this line (59174) in main.js:
"undefined" === typeof cljs_bootstrap.dev.conn && (cljs_bootstrap.dev.conn = clojure.browser.repl.connect("http://localhost:9000/repl"));

Comparison to zero throws error

cljs-bootstrap.repl> (< 10 2)
false
cljs-bootstrap.repl> (< 10 0)
Error
    at new cljs$core$ExceptionInfo (/Users/nasser/Scratch/cljs/repl-all.js:33197:11)
    at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (/Users/nasser/Scratch/cljs/repl-all.js:33238:10)
    at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2 (/Users/nasser/Scratch/cljs/repl-all.js:33235:28)
    at cljs$core$ex_info (/Users/nasser/Scratch/cljs/repl-all.js:33225:32)
    at Function.cljs.tools.reader.reader_types.reader_error.cljs$core$IFn$_invoke$arity$variadic (/Users/nasser/Scratch/cljs/repl-all.js:34775:27)
    at cljs$tools$reader$reader_types$reader_error (/Users/nasser/Scratch/cljs/repl-all.js:34772:54)
    at cljs$tools$reader$read_number (/Users/nasser/Scratch/cljs/repl-all.js:35438:60)
    at /Users/nasser/Scratch/cljs/repl-all.js:36447:56
    at cljs$tools$reader$reader_types$log_source (/Users/nasser/Scratch/cljs/repl-all.js:34843:20)
    at cljs$tools$reader$target (/Users/nasser/Scratch/cljs/repl-all.js:36426:56)
cljs-bootstrap.repl> (> 10 1)
true
cljs-bootstrap.repl> (> 10 0)
Error
    at new cljs$core$ExceptionInfo (/Users/nasser/Scratch/cljs/repl-all.js:33197:11)
    at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (/Users/nasser/Scratch/cljs/repl-all.js:33238:10)
    at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2 (/Users/nasser/Scratch/cljs/repl-all.js:33235:28)
    at cljs$core$ex_info (/Users/nasser/Scratch/cljs/repl-all.js:33225:32)
    at Function.cljs.tools.reader.reader_types.reader_error.cljs$core$IFn$_invoke$arity$variadic (/Users/nasser/Scratch/cljs/repl-all.js:34775:27)
    at cljs$tools$reader$reader_types$reader_error (/Users/nasser/Scratch/cljs/repl-all.js:34772:54)
    at cljs$tools$reader$read_number (/Users/nasser/Scratch/cljs/repl-all.js:35438:60)
    at /Users/nasser/Scratch/cljs/repl-all.js:36447:56
    at cljs$tools$reader$reader_types$log_source (/Users/nasser/Scratch/cljs/repl-all.js:34843:20)
    at cljs$tools$reader$target (/Users/nasser/Scratch/cljs/repl-all.js:36426:56)

Request for documentation about CLJS compiler

Hi @swannodette

I was wondering whether you're planning to write a blog post regarding the clojurescript compiler's inner working. I'm immensely intrigued by the project and after some Googling, I found that this can be leveraged towards different hosts as well.

So far, I've found
Clojure-to-C
Clojure-Scheme

But these are a bit dated and the structure of the clojurescript repo seems to have changed. Would you please, write a blog post about the internals? The CLJS compiler, along with the chez-scheme compiler are the most approachable ones for a driven lisp hacker.

Also, I'm aware about the M. Fogus' talk on InfoQ, which outlines the compiler a bit but that too seems dated.

Thank you for Clojurescript, the talks and all the work that you do for open source. I appreciate it and I learn a lot from you ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.