Content deleted Content added
Robyonrails (talk | contribs) mNo edit summary |
m uncategorized |
||
Line 7:
It has not to be confused with [[Macro (computer science)|macros]], the mechanism often found in programming languages (like [[C (programming language)|C]] or [[Scala (programming language)|Scala]]) to express substitution rules for program pieces.
Macroprogramming originated in the context of [[wireless sensor network]] programming<ref name="Newton Welsh 2004 p. ">{{cite conference | last=Newton | first=Ryan | last2=Welsh | first2=Matt | title=Region streams | publisher=ACM Press | publication-place=New York, New York, USA | year=2004 | doi=10.1145/1052199.1052213 | page=}}</ref>
and found renewed interest in the context of the [[Internet of Things]] <ref name="Júnior Santana Bulcão-Neto Porter 2022 pp. 54–65">{{cite journal | last=Júnior | first=Iwens G. S. | last2=Santana | first2=Thalia S. de | last3=Bulcão-Neto | first3=Renato de F. | last4=Porter | first4=Barry F. | title=The state of the art of macroprogramming in IoT: An update | journal=Journal of Internet Services and Applications | publisher=Sociedade Brasileira de Computacao - SB | volume=13 | issue=1 | date=2022-11-18 | issn=1869-0238 | doi=10.5753/jisa.2022.2372 | pages=54–65}}</ref> and [[swarm robotics]]
Macroprogramming shares similar goals (related to programming a system by a global perspective) with [[multitier programming]], [[choreographic programming]], and [[aggregate computing]].
Line 59:
=== Regiment ===
The following program in the Regiment language <ref name="Newton Morrisett Welsh 2007 p. "
<syntaxhighlight lang="prolog" line="1">
Line 73:
BASE <- avgSignal % move such information to the base station
</syntaxhighlight>
=== PyoT ===
Line 90 ⟶ 89:
=== TinyDB ===
In TinyDB
<syntaxhighlight lang="sql" line="1">
Line 96 ⟶ 95:
2 SAMPLE PERIOD 5 minutes
</syntaxhighlight>
== See also ==
Line 108 ⟶ 106:
{{reflist}}
{{uncategorized|date=February 2023}}
|