Barry Schwartz 🫖 · @chemoelectric
488 followers · 6965 posts · Server masto.ai

I have added a second implementation--this one based closely on the , to aid people in comparing the two languages:

Continued fraction/Arithmetic/G(matrix ng, continued fraction n1, continued fraction n2) - Rosetta Code rosettacode.org/wiki/Continued

I also demonstrate having the program broken into multiple files. Some things, which you might not expect to, have to be done "manually" in ...

#ats #standardml #ats2 #atslang #sml

Last updated 2 years ago

Barry Schwartz 🫖 · @chemoelectric
478 followers · 6617 posts · Server masto.ai

I am really getting the masochistic urge make self-hosting, now that it is a frozen language.

I mean, it’s written in , and that’s not a very different language. It’s mostly ‘ATS without the template system’.

(The ATS2 prelude is somewhat buggy but my ats2-xprelude package kind of makes that not-much-of-a-problem. This is because, unlike in some languages that were misguidedly and foolishly designed, shadowing is both allowed and very flexible.)

#ats2 #ats1

Last updated 2 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net

こんなの思い付かないよ。。。 datavtype shared_ (a:vt@ype) = {l:addr} SHARED of (a@l | spin1_vt, int, ptr l)

#ats2

Last updated 4 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net
Q · @masterq
110 followers · 6513 posts · Server pawoo.net

.oO(本音をいうとTLA+でモデル作って でガッツリ誰得ロボット実装を作って、ソフトフレームワークは譲渡条項有りのAGPLv3でオープンソース化したいです、、、)

#ats2

Last updated 6 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net

モジュール全体の不変条件を書けないんだよなぁ

#ats2

Last updated 6 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net

1.5MBしかバイナリサイズなかったのか。。。tccと組み合わせれば、クライアントサイドでもコンパイルできるかもしれない。。。

#ats2

Last updated 6 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net

とりあえず サイコー

#ats2 #where

Last updated 6 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net

今日は数年ぶりに プログラミングして楽しかったです。やっぱり って大事ですね、、、

#楽しい #ats2

Last updated 6 years ago

Q · @masterq
110 followers · 6513 posts · Server pawoo.net

についても突っ込んだ理解がないんですが、 はRefinementTypesの一種だと思っていて正しいのでしょうか。。。例が散乱しすぎていて ? というところが理解できないでいます。。。

#それって何 #ats2 #refinementtypes

Last updated 6 years ago