Overview
Comment:Added underscore to port regexp
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 7aafd38e0db41b5734356c7a0c4a576f16581f4688dc07e0d9146a9fd782859f
User & Date: gawthrop@users.sourceforge.net on 1997-08-09 14:42:39
Other Links: branch diff | manifest | tags
Context
1997-08-14
11:01:42
Reordered algorithms as follows:
bond end coordinates
associate port labels with bonds (port_bond)
associate bonds with components
unsorted list of bonds on each component (components)
interpret strokes and setup the causality of the bonds (bonds)
expand vector ports & add new bonds and connections
sort bonds on each component according to the labels -- two ports
default included here.
check-in: d75632f734 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-08-09
14:42:39
Added underscore to port regexp check-in: 7aafd38e0d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:31:16
Default two port list is [in;out] (or [out;in])
Dont do global default if no ports labels.
check-in: 292b73bff1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/awk/rbg_fig2m.awk from [ff580b61c9] to [e92fb466dc].

8
9
10
11
12
13
14






15
16
17
18
19
20
21
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$






## Revision 1.20  1997/03/19 12:02:01  peterg
## Now writes an error message if a lable is used twice in the fig file.
##
# Revision 1.19  1997/03/19  09:49:39  peterg
# Ports now written in cmp file.
#
# Revision 1.18  1997/03/19  09:42:08  peterg







>
>
>
>
>
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.21  1997/08/04 12:49:17  peterg
## Modified to use named (as opposed to numbered) ports.
## Generates a list of component ports in the .rbg file.
## As octave handles string vectors properly, the .cmp file format is not
## really necessary - but I've let it be for the moment.
##
## Revision 1.20  1997/03/19 12:02:01  peterg
## Now writes an error message if a lable is used twice in the fig file.
##
# Revision 1.19  1997/03/19  09:49:39  peterg
# Ports now written in cmp file.
#
# Revision 1.18  1997/03/19  09:42:08  peterg
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
  default_args = "";
  delimiter = ":";
  repetition_delimiter = "*";
  repetition_regexp = "\\*";
  q = "\047";
  terminator = "\\001";
  component_regexp = "[^0-9a-zA-Z_:\*-]";
  port_regexp = "^\[[a-zA-Z0-9]*\]";
  nonport_regexp = "[a-zA-Z]";
    
  isa_fig_file = 0;
  min_line_length = 10;
  object = 0;
  polyline = 2;
  sub_polyline=1; 







|







480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
  default_args = "";
  delimiter = ":";
  repetition_delimiter = "*";
  repetition_regexp = "\\*";
  q = "\047";
  terminator = "\\001";
  component_regexp = "[^0-9a-zA-Z_:\*-]";
  port_regexp = "^\[[a-zA-Z0-9_]*\]";
  nonport_regexp = "[a-zA-Z]";
    
  isa_fig_file = 0;
  min_line_length = 10;
  object = 0;
  polyline = 2;
  sub_polyline=1; 


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]