Skip to content

Commit

Permalink
Update Mosh Scheme to 0.2.8 RC7 (#64)
Browse files Browse the repository at this point in the history
* Specify mosh version in prelude

* Updated mosh_comp and Mosh-prelude for Mosh 0.2.8
  • Loading branch information
higepon authored Jul 3, 2024
1 parent 845345f commit e089789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 1 addition & 2 deletions bench
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,7 @@ kawa_exec ()

mosh_comp ()
{
# remove import statement
sed -i -e 's/^(import (scheme.*)$//g' $1
:
}

mosh_exec ()
Expand Down
13 changes: 2 additions & 11 deletions src/Mosh-prelude.scm
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
(import (rnrs) (rnrs mutable-pairs) (rnrs mutable-strings) (rnrs io simple) (srfi :19) (rnrs r5rs (6)))
(define (current-second)
(let ((d (current-date)))
(+ (* 60 60 (date-hour d))
(* 60 (date-minute d))
(date-second d))))
(define (current-jiffy)
(+ (current-second) (/ (date-nanosecond (current-date)) 1000000000)))
(define (jiffies-per-second)
1)
(import (mosh config))
(define (this-scheme-implementation-name)
(string-append "mosh-" "unknown"))
(string-append "mosh-" (get-config "version")))

0 comments on commit e089789

Please sign in to comment.