main.anubis
1.04 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*************************************************
* *Project* The HayamiKi (早見木) project
*
* *Title* Interfacing, generating and controling a database with Anubis
*
* *Copyright* Copyright © David René 2015-2019.
*
*
*
*
* *Overview*
* generate database management interface under Anubis according on model description file'.
* Like django
*/
read tools/string.anubis
read tools/basis.anubis
read generation/files.anubis
read hayamiki_lib/hk_generator.anubis
read model.3.0.0.anubis
read system/muscle.anubis
global define One
hayamiki_1_19
(
List(String) args
) =
if load_hk_generator_1_19 is
{
failure then println("Hayamiki generator 1.19 can't be load"),
success(hk_gen) then forget(hk_gen.generate_model_files(the_database_description, "", true))
}.
global define One
hk_save
(
List(String) args
)=
with message = to_Message(the_database_description),
println("\n Database dump");
println(dump(message))
.