Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
4820b36e
Commit
4820b36e
authored
31 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Tweeks to allow for compiling/evaling dylan code in a slave.
parent
e095dca8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hemlock/lispeval.lisp
+25
-7
25 additions, 7 deletions
hemlock/lispeval.lisp
with
25 additions
and
7 deletions
hemlock/lispeval.lisp
+
25
−
7
View file @
4820b36e
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/lispeval.lisp,v 1.1.1.1
0
199
2
/0
2/15 01:06:05
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/lispeval.lisp,v 1.1.1.1
1
199
3
/0
7/22 11:45:24
wlott Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -101,12 +101,26 @@
(
setf
(
note-state
note
)
:pending
)
(
message
"Sending ~A."
(
note-context
note
))
(
case
(
note-kind
note
)
(
:dylan-eval
(
wire:remote
wire
(
server-eval-dylan-text
remote
(
note-package
note
)
(
note-text
note
)
(
and
ts
(
ts-data-stream
ts
)))))
(
:eval
(
wire:remote
wire
(
server-eval-text
remote
(
note-package
note
)
(
note-text
note
)
(
and
ts
(
ts-data-stream
ts
)))))
(
:dylan-compile
(
wire:remote
wire
(
server-compile-dylan-text
remote
(
note-package
note
)
(
note-text
note
)
(
note-input-file
note
)
(
and
ts
(
ts-data-stream
ts
))
(
and
bg
(
ts-data-stream
bg
)))))
(
:compile
(
wire:remote
wire
(
server-compile-text
remote
...
...
@@ -267,9 +281,13 @@
(
when
(
server-info-notes
server-info
)
(
editor-error
"Server ~S is currently busy. See \"List Operations\"."
(
server-info-name
server-info
)))
(
multiple-value-bind
(
values
error
)
(
wire:remote-value
(
server-info-wire
server-info
)
(
server-eval-form
package
form
))
(
multiple-value-bind
(
values
error
)
(
if
(
dylan-mode-p
)
(
wire:remote-value
(
server-info-wire
server-info
)
(
server-eval-dylan-form
package
form
))
(
wire:remote-value
(
server-info-wire
server-info
)
(
server-eval-form
package
form
)))
(
when
error
(
editor-error
"The server died before finishing"
))
values
))
...
...
@@ -296,7 +314,7 @@
string. If package is not supplied, the string is eval'ed in the slave's
current package."
(
declare
(
simple-string
string
))
(
queue-note
(
make-note
:kind
:eval
(
queue-note
(
make-note
:kind
(
if
(
dylan-mode-p
)
:dylan-eval
:eval
)
:context
context
:package
package
:text
string
)
...
...
@@ -312,7 +330,7 @@
is not supplied, the string is eval'ed in the slave's current package."
(
let
((
region
(
region
(
copy-mark
(
region-start
region
)
:left-inserting
)
(
copy-mark
(
region-end
region
)
:left-inserting
))))
(
queue-note
(
make-note
:kind
:eval
(
queue-note
(
make-note
:kind
(
if
(
dylan-mode-p
)
:dylan-eval
:eval
)
:context
context
:region
region
:package
package
...
...
@@ -331,7 +349,7 @@
(
buf
(
line-buffer
(
mark-line
(
region-start
region
))))
(
pn
(
and
buf
(
buffer-pathname
buf
)))
(
defined-from
(
if
pn
(
namestring
pn
)
"unknown"
)))
(
queue-note
(
make-note
:kind
:compile
(
queue-note
(
make-note
:kind
(
if
(
dylan-mode-p
)
:dylan-compile
:compile
)
:context
(
region-context
region
"compilation"
)
:buffer
(
and
region
(
region-start
region
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment