github2-x
2018-12-6 15:06:48

github2-x
2018-12-6 15:51:26

github2-x
2018-12-6 15:51:27

github2-x
2018-12-6 16:13:59

github2-x
2018-12-6 16:15:28

github2-x
2018-12-6 17:12:44

github2-x
2018-12-6 17:24:46

github2-x
2018-12-6 18:54:03


github2-x
2018-12-6 19:46:25

github2-x
2018-12-6 20:02:32

github2-x
2018-12-6 20:02:33

github2-x
2018-12-6 21:05:00

github2-x
2018-12-6 21:06:21

github2-x
2018-12-7 02:20:21

samth
2018-12-7 02:34:30

@cadr stack traces shouldn’t print for exn:fail:user


samth
2018-12-7 02:35:01

but also: [samth@huor:~/sw/pycket/pycket (master) plt] pk -l compiler/commands/make -- --help racket [ <option> ... ] <file> [<another-file>] ... where <option> is one of -j <n> : Compile with up to <n> tasks in parallel --disable-inline : Disable procedure inlining during compilation --disable-constant : Disable enforcement of module constants --no-deps : Compile immediate files without updating dependencies -p <file>, --prefix <file> : Add elaboration-time prefix file for --no-deps --no-prim : Do not assume `scheme' bindings at top level for --no-deps -v : Verbose mode --vv : Very verbose mode --help, -h : Show this help -- : Do not treat any remaining argument as a switch (at this level) Multiple single-letter switches can be combined after one `-'; for example: `-h-' is the same as `-h --'


samth
2018-12-7 02:36:04
[samth@huor:~/sw/pycket (master) plt] pk -l compiler/commands/make -- -v compile-file-pycket.rkt
"compile-file-pycket.rkt":
  making #<path:/home/samth/sw/pycket/compile-file-pycket.rkt>
module-prefetch: (racket/path racket/list racket/file racket/cmdline syntax/modread) in: #<path:/home/samth/sw/pycket/>
 [output to "#<path:compiled/pycket/compile-file-pycket_rkt.zo>"]

cadr
2018-12-7 02:36:53

@samth yeah the stack trace printing is currently not conditional to anything, error display handler will always print it


samth
2018-12-7 02:39:53
[samth@huor:~/sw/pycket (master) plt] time PLT_LINKLET_TIMES=1  pk -l racket
;; boot                                      7 [0.000000] ms
;; make-instance                             0 [0.000000] ms ; 799 times
;; instantiate-linklet                    1257 [74.000000] ms ; 1639 times
;; startup                                 905 [376.000000] ms ; 1 times
;;   expander-linklet                        0 [0.000000] ms ; 1 times
;;   json-load                             293 [197.000000] ms ; 2 times
;;   json-to-ast                           609 [179.000000] ms ; 2 times
;;   fasl-linklet                            0 [0.000000] ms ; 1 times
;;   set-params                              2 [0.000000] ms ; 1 times
;; read                                  15030 [8868.000000] ms
;;   fasl->s-exp                          1155 [162.000000] ms ; 486 times
;;   s-exp->ast                          13361 [8613.000000] ms ; 486 times
;;   assign-convert-deserialize            513 [93.000000] ms ; 11516 times
;; total                                 17201 [9318.000000] ms

real    0m20.279s
user    0m19.824s
sys     0m0.378s

cadr
2018-12-7 02:40:37

@samth wait are we able to run #lang racket now?


samth
2018-12-7 02:40:43

yup


samth
2018-12-7 02:40:51

and that was raco make that I pasted above


cadr
2018-12-7 02:41:31

@samth horrayy! Yeah I wasn’t sure if I was understanding correctly :slightly_smiling_face:


cadr
2018-12-7 02:42:01

@samth Awesome!


samth
2018-12-7 02:43:49

the -N flag seems to crash


cadr
2018-12-7 02:44:29

@samth Also, I was trying to get some traces for the fasl functions, but it doesn’t put anything in the logfile, my guess is that there’s not enough computation for it to generate traces, as it fills the logfile when I run it with loading the expander


cadr
2018-12-7 02:45:18

unfortunately I’m currently unable to use string_to_sexp to generate big s-expressions for fasl to work on, rpython keeps erroring on the re library


samth
2018-12-7 02:46:37

Just write a racket program that generates a big s-exp and compile and write it


cadr
2018-12-7 02:47:48

@samth you mean load it from another json?


samth
2018-12-7 02:47:55

no


cadr
2018-12-7 02:48:11

how am I gonna read that without loading the expander?


samth
2018-12-7 02:48:26

ah you’re trying what I suggested about not loading the expander


cadr
2018-12-7 02:48:32

yes


samth
2018-12-7 02:48:33

don’t read the sexp, generate it


samth
2018-12-7 02:48:39

write a for loop


cadr
2018-12-7 02:48:59

yeah that was what I was about to do


github2-x
2018-12-7 03:24:10

github2-x
2018-12-7 03:24:25

samth
2018-12-7 03:25:23

successfully compiled: racket, net/url, racket/fasl, typed-racket/utils/utils, compiler/compiler, raco/main, most of the db collection, file/unzip, and many others