File tree Expand file tree Collapse file tree 4 files changed +19
-0
lines changed
Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 3939 - node
4040 - go
4141 - bun
42+ - pony
4243 - fortran
4344 - rust
4445 - swiftc
Original file line number Diff line number Diff line change 1+ actor Main
2+ new create (env: Env ) =>
3+ var target: U32 = try env.args (1 )?.u32 ()? else 0 end
4+ var i: U32 = 0
5+ while i < target do
6+ i = (i + 1 ) or 1
7+ end
8+ env.out .print (i.string ())
Original file line number Diff line number Diff line change @@ -61,4 +61,9 @@ COPY ./swift.sh ./swift.sh
6161RUN ./swift.sh
6262ENV PATH="/root/.swift/usr/bin:$PATH"
6363
64+ ENV PATH="/root/.local/share/ponyup/bin:$PATH"
65+ RUN (curl -fSL https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh | sh) || true \
66+ && ponyup default x86_64-linux-ubuntu22.04 \
67+ && ponyup update ponyc release
68+
6469WORKDIR /var/count
Original file line number Diff line number Diff line change @@ -339,3 +339,8 @@ build-swiftc: (_check "swiftc") && (_size "count")
339339 swiftc --version > VERSION
340340 swiftc ./ count.swift -o count -O
341341 echo ' ./count {{ i}} ' > CMD
342+
343+ build-pony : (_check " ponyc" ) && (_size " count" )
344+ ponyc --version > VERSION
345+ ponyc
346+ echo ' ./count {{ i}} ' > CMD
You can’t perform that action at this time.
0 commit comments