This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/examples/encodings/latin.lgt

25 lines
511 B
Plaintext
Raw Normal View History

:- encoding(iso_latin_1). % this directive, when present, must be the first term in a source file
:- object(latin).
:- info([
version is 1.0,
author is 'Paulo Moura',
date is 2005/04/24,
comment is 'Simple test of the encoding/1 directive.']).
:- public(name/1).
:- mode(name(?atom), zero_or_more).
:- info(name/1, [
comment is 'Table of person names.',
argnames is ['Name']]).
name('Ant<6E>nio Sim<69>es').
name('C<>tia Concei<65><69>o').
name('Jo<4A>o Ra<52>nho').
name('Lu<4C>s Ara<72>jo').
:- end_object.