Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
gforth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bernd Paysan
gforth
Commits
15b9e470
Commit
15b9e470
authored
Sep 01, 2019
by
Anton Ertl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documentation changes
parent
a64290e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
set-compsem.fs
set-compsem.fs
+8
-5
No files found.
set-compsem.fs
View file @
15b9e470
...
...
@@ -26,9 +26,12 @@
\
:
foo
.
" interpreting"
;
set
-
compsem
:
intsem
:
(
--
)
\
G
changes
the
current
semantics
to
be
the
non
-
default
compilation
\
G
semantics
,
and
adds
another
interpretation
semantics
to
the
last
\
G
definition
\
G
The
current
definition's
compilation
semantics
are
changed
to
\
G
perform
its
execution
semantics
(
the
word
becomes
immediate
).
\
G
Then
its
interpretation
semantics
are
changed
to
perform
the
\
G
definition
starting
at
the
@
code
{
intsem
:}.
Note
that
if
you
\
G
then
call
@
code
{
immediate
},
the
compilation
semantics
are
\
G
changed
to
perform
the
word's
new
interpretation
semantics
.
[:
[
'
]
execute
;]
set
->
comp
int
-[:
[:
nip
>
r
vt
,
wrap
!
r
>
[
n
:
d
nip
;]
set
->
int
;]
colon
-
sys
-
xt
-
offset
stick
;
...
...
@@ -37,8 +40,8 @@
\
:
foo
.
" compiling"
;
intsem
:
.
" interpreting"
;
:
compsem
:
(
--
)
\
G
adds
a
non
default
compilation
semantics
to
the
last
\
G
definition
\
G
Changes
the
compilation
semantics
of
the
current
definition
to
\
G
perform
the
definition
starting
at
the
@
code
{
compsem
:}.
int
-[:
[:
nip
>
r
vt
,
wrap
!
r
>
set
-
compsem
;]
colon
-
sys
-
xt
-
offset
stick
;
\
silly
example
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment