Dear All,
We are happy to announce a new edition of
the Dogelog player:
- Multlinguale Strings:
Libraries and applications can create text
databases using the multifile predicate strings/3.
Access is via predicates get_string/[2,3].
A new prolog flag sys_locale indicates the
currently selected language.
- Term Formatting:
Experimentally, we introduced new predicates
sys_print_message/[1,2,3] and created a text
database for error terms. This is now used for
natural language error messages according to
the current language setting. Accordingly,
formerly Jekejeke Prolog was also adapted.
- Time Formatting:
Furthermore, a predicate sys_time_atom/3 was
introduced, which corresponds to the POSIX
strftime(). This allowed us to internationalize
predicates like version/0, time/1, and statistics/0.
Accordingly, formerly Jekejeke Prolog was also adapted.
Have Fun!
Jan Burse, 30.07.2023, http://www.xlog.ch/
Dogelog Player is a Prolog system written
100% in Prolog that targets Python and
JavaScript. We recently introduced multilingual
strings and a locale Prolog flag. We report
on the progress of internationalizing the
Prolog system itself and of finding
some locale defaults.
The separation of concern approach of our
multilingual strings allowed to overcome
some new hurdles during the Prolog banner
generation. We also managed to find locale
defaults for the Python target and the
JavaScript target, whereas the Python
solution is still work in progress.
See also:
Local Greetings in Dogelog Player https://twitter.com/dogelogch/status/1688501180383510528
Local Greetings in Dogelog Player
https://www.facebook.com/groups/dogelog
Mild Shock schrieb:
Dear All,
We are happy to announce a new edition of
the Dogelog player:
- Multlinguale Strings:
Libraries and applications can create text
databases using the multifile predicate strings/3.
Access is via predicates get_string/[2,3].
A new prolog flag sys_locale indicates the
currently selected language.
- Term Formatting:
Experimentally, we introduced new predicates
sys_print_message/[1,2,3] and created a text
database for error terms. This is now used for
natural language error messages according to
the current language setting. Accordingly,
formerly Jekejeke Prolog was also adapted.
- Time Formatting:
Furthermore, a predicate sys_time_atom/3 was
introduced, which corresponds to the POSIX
strftime(). This allowed us to internationalize
predicates like version/0, time/1, and statistics/0.
Accordingly, formerly Jekejeke Prolog was also adapted.
Have Fun!
Jan Burse, 30.07.2023, http://www.xlog.ch/
Dogelog Player is a Prolog system that was developed<snip>
from scratch independent from formerly Jekejeke Prolog.
In particular it features a compiletime foreign function
interface, which we now brought to formerly Jekejeke
Prolog to replace its runtime foreign function interface.
Method references were already introduced in JDK 8. By
focusing on object arguments and return types only, we
loose some convenience. So far we didn’t see some performance
penalty. There is still ongoing work regarding adoption
of Dogelog Players optimization for the (is)/2 predicate.
On 07/09/2023 18:20, Mild Shock wrote:
Dogelog Player is a Prolog system that was developed
from scratch independent from formerly Jekejeke Prolog.
In particular it features a compiletime foreign function
interface, which we now brought to formerly Jekejeke
Prolog to replace its runtime foreign function interface.
Method references were already introduced in JDK 8. By<snip>
focusing on object arguments and return types only, we
loose some convenience. So far we didn’t see some performance
penalty. There is still ongoing work regarding adoption
of Dogelog Players optimization for the (is)/2 predicate.
I see people are still confusing lose and loose.
John
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 351 |
Nodes: | 16 (2 / 14) |
Uptime: | 44:38:03 |
Calls: | 7,634 |
Files: | 12,799 |
Messages: | 5,690,386 |