Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197565
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Mild Shock <janburse@fastmail.fm> |
| Newsgroups | comp.lang.python |
| Subject | NetFish Transducer in Dogelog Player (Re: ANN: Dogelog Player 2.1.1 (Sky Limit)) |
| Date | Sun, 12 Oct 2025 00:40:22 +0200 |
| Message-ID | <10cemck$t6kn$1@solani.org> (permalink) |
| References | <10bltoe$dk1e$4@solani.org> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 11 Oct 2025 22:40:20 -0000 (UTC) |
| Injection-Info | solani.org; logging-data="957079"; mail-complaints-to="abuse@news.solani.org" |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.21 |
| Cancel-Lock | sha1:xl1W6rmFSI20W+wimkVZ7KGE9wA= |
| X-User-ID | eJwNykkBwDAIBEBLIbAQ5HD6l9DOe8BKWiYKFSx2AbKevm8iqU05Lw+wHOKRdfqkPgi98vQY/itNa14qP+IfaO0V7Q== |
| In-Reply-To | <10bltoe$dk1e$4@solani.org> |
| Xref | csiph.com comp.lang.python:197565 |
Show key headers only | View raw
We present a Prolog transducer dubbed NetFish that can be used to translate Java code into C# code. NetFish can be built with a non-standard version of DCG, extending the notion of semi-context from terminals to non-terminals. NetFish can be easily run over arbitrary long files with little memory. NetFish uses a sliding window along an input text. It then applies the given compiled DSL rules in a cascading style. We used various LLMs such as ChatGPT and DeepSeek to advice us in the rules, but such a process is currently not integrated. The output can be run with .NET 9.0. See also: NetFish Transducer in Dogelog Player https://medium.com/2989/9d392937c1e3 Mild Shock schrieb: > Dear All, > > We are happy to announce a new edition > of the Dogelog Player: > > - Enhanced GC: > To lift the native stack limitations, we > opted for a marking algorithm based on > Peter Deutschs algorithm E as found in > Donald Knuths "The Art of Computing Programming" > book. Our variant uses an int field that was > anyway recently introduced for Prolog > compound coloring, so that no extra space > was introduced in this release. > > - Enhanced Binary-Ops: > By adopting the pointer approach from Jaffar's > Unification we could get rid of the map based > realization from previous releases for union > find. It turns out this gives quite a speed > advantage. We also lifted the native stack > limitation by using an extra space in the > form of a stack and a log, which surprisingly > performs well especially for Java, less for > JavaScript and Python. > > - Enhanced Unary-Ops: > For unary operations such as term_variables/2, > ground/1, etc.. we experimented with both > Peter Deutsch and a stack / log approaches. > Interestingly for performance reasons we had > to dismiss the two phase approach induced by > a marking algorithm such as Peter Deutsch, > and went also with the one phase approach as > offered by a stack / log realization. > > Have Fun! > > Jan Burse, 02.10.2025, https://www.herbrand.ai/
Back to comp.lang.python | Previous | Next — Next in thread | Find similar
NetFish Transducer in Dogelog Player (Re: ANN: Dogelog Player 2.1.1 (Sky Limit)) Mild Shock <janburse@fastmail.fm> - 2025-10-12 00:40 +0200
Arrow Functions in Dogelog Player (Re: ANN: Dogelog Player 2.1.1 (Sky Limit)) Mild Shock <janburse@fastmail.fm> - 2025-10-17 13:49 +0200
AOT Lambdas in Dogelog Player (Re: Arrow Functions in Dogelog Player) Mild Shock <janburse@fastmail.fm> - 2025-10-26 15:59 +0100
csiph-web