Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pintos_forked_resit
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s2-alsaloumi
Pintos_forked_resit
Commits
86dbc586
Commit
86dbc586
authored
1 year ago
by
h2-addad
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
1a5c533d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tests/vm/sample.inc
+19
-0
19 additions, 0 deletions
src/tests/vm/sample.inc
with
19 additions
and
0 deletions
src/tests/vm/sample.inc
0 → 100644
+
19
−
0
View file @
86dbc586
char
sample
[]
=
{
"=== ALL USERS PLEASE NOTE ========================
\n
"
"
\n
"
"CAR and CDR now return extra values.
\n
"
"
\n
"
"The function CAR now returns two values. Since it has to go to the
\n
"
"trouble to figure out if the object is carcdr-able anyway, we figured
\n
"
"you might as well get both halves at once. For example, the following
\n
"
"code shows how to destructure a cons (SOME-CONS) into its two slots
\n
"
"(THE-CAR and THE-CDR):
\n
"
"
\n
"
" (MULTIPLE-VALUE-BIND (THE-CAR THE-CDR) (CAR SOME-CONS) ...)
\n
"
"
\n
"
"For symmetry with CAR, CDR returns a second value which is the CAR of
\n
"
"the object. In a related change, the functions MAKE-ARRAY and CONS
\n
"
"have been fixed so they don't allocate any storage except on the
\n
"
"stack. This should hopefully help people who don't like using the
\n
"
"garbage collector because it cold boots the machine so often.
\n
"
};
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