Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
2b63f548
Commit
2b63f548
authored
Oct 03, 2001
by
Ronny Wichers Schreur
🏢
Browse files
changed from system to definition module
added array copy macro
parent
95eecaf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/_aconcat.dcl
View file @
2b63f548
system
module
_aconcat
definition
module
_aconcat
import
StdArray
,
StdInt
,
StdEnum
,
StdList
...
...
@@ -59,3 +59,9 @@ where
#
(
e
,
a1
)
=
a1
![
i
]
=
copy_elements
a1
{
a2
&
[
i
]=
e
}
(
i
+1
)
=
(
a2
,
a1
)
arrayCopy
a
s
:==
arrayCopyBegin
a1
s
where
(
s
,
a1
)
=
usize
a
frontend/_aconcat.icl
View file @
2b63f548
...
...
@@ -59,3 +59,8 @@ where
#
(
e
,
a1
)
=
a1
![
i
]
=
copy_elements
a1
{
a2
&
[
i
]=
e
}
(
i
+1
)
=
(
a2
,
a1
)
arrayCopy
a
s
:==
arrayCopyBegin
a1
s
where
(
s
,
a1
)
=
usize
a
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment