forked from leoalenc/pygf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSem.gf
More file actions
25 lines (22 loc) · 731 Bytes
/
Sem.gf
File metadata and controls
25 lines (22 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- PyGF - a multilingual computational grammar for Python and Portuguese
-- (c) 2022 Leonel Figueiredo de Alencar
-- Licensed under the terms of the GNU General Public License Version 3
-- See LICENSE or visit the URL
-- https://www.gnu.org/licenses/gpl-3.0.en.html
abstract Sem = {
flags startcat = Command ;
cat
Command ; Object ; Integer ; Value ;
fun
Reverse, Sort, Clear : Command;
Count, Index, Remove : Value -> Command;
Pop : Integer -> Command;
Insert : Integer -> Object -> Command;
Print, Length : Object -> Command;
mkObjInt: Integer -> Object;
mkObjVal: Value -> Object;
Int : Integer;
Pos1, Pos2, Pos3, Neg1, Neg2, Neg3 : Integer;
Val : Value;
Obj : Object;
}