Skip to content

Commit 6501532

Browse files
committed
mv FrontEnd -> FE
1 parent 1b97ada commit 6501532

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+84
-84
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

FrontEnd/canonicalize.py renamed to FE/canonicalize.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
from typing import Any, Optional
55

66

7-
from FrontEnd import identifier
8-
from FrontEnd import cwast
9-
from FrontEnd import type_corpus
10-
from FrontEnd import eval
11-
from FrontEnd import typify
7+
from FE import identifier
8+
from FE import cwast
9+
from FE import type_corpus
10+
from FE import eval
11+
from FE import typify
1212

1313
############################################################
1414
#

FrontEnd/canonicalize_large_args.py renamed to FE/canonicalize_large_args.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
from typing import Optional, Any
2020

21-
from FrontEnd import identifier
22-
from FrontEnd import cwast
23-
from FrontEnd import type_corpus
24-
from FrontEnd import typify
21+
from FE import identifier
22+
from FE import cwast
23+
from FE import type_corpus
24+
from FE import typify
2525

2626
############################################################
2727
# Convert large parameter into pointer to object allocated

FrontEnd/canonicalize_span.py renamed to FE/canonicalize_span.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
from typing import Optional
77

8-
from FrontEnd import canonicalize
9-
from FrontEnd import cwast
10-
from FrontEnd import type_corpus
11-
from FrontEnd import typify
12-
from FrontEnd import symbolize
13-
from FrontEnd import eval
8+
from FE import canonicalize
9+
from FE import cwast
10+
from FE import type_corpus
11+
from FE import typify
12+
from FE import symbolize
13+
from FE import eval
1414

1515
############################################################
1616
# Convert Spans to equvalent struct

FrontEnd/canonicalize_union.py renamed to FE/canonicalize_union.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
from typing import Optional
1212

13-
from FrontEnd import cwast
14-
from FrontEnd import type_corpus
15-
from FrontEnd import typify
16-
from FrontEnd import canonicalize
17-
from FrontEnd import identifier
13+
from FE import cwast
14+
from FE import type_corpus
15+
from FE import typify
16+
from FE import canonicalize
17+
from FE import identifier
1818

1919
############################################################
2020
# Convert Tagged Unions to equvalent struct

FrontEnd/cw2cws.py renamed to FE/cw2cws.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import sys
99

1010

11-
from FrontEnd import parse
12-
from FrontEnd import pp_sexpr
11+
from FE import parse
12+
from FE import pp_sexpr
1313

1414
logger = logging.getLogger(__name__)
1515

File renamed without changes.

FrontEnd/cws2cw.py renamed to FE/cws2cw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import sys
99

1010

11-
from FrontEnd import parse_sexpr
12-
from FrontEnd import pp
11+
from FE import parse_sexpr
12+
from FE import pp
1313

1414
logger = logging.getLogger(__name__)
1515

FrontEnd/dead_code.py renamed to FE/dead_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from typing import Set, Dict, List
55

6-
from FrontEnd import cwast
6+
from FE import cwast
77

88

99
logger = logging.getLogger(__name__)

FrontEnd/emit_ir.py renamed to FE/emit_ir.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515

1616
from Util.parse import BytesToEscapedString
1717

18-
from FrontEnd import canonicalize_large_args
19-
from FrontEnd import canonicalize_span
20-
from FrontEnd import canonicalize_union
21-
from FrontEnd import canonicalize
22-
from FrontEnd import symbolize
23-
from FrontEnd import type_corpus
24-
from FrontEnd import cwast
25-
from FrontEnd import typify
26-
from FrontEnd import eval
27-
from FrontEnd import identifier
28-
from FrontEnd import pp_html
29-
from FrontEnd import mod_pool
30-
from FrontEnd import dead_code
18+
from FE import canonicalize_large_args
19+
from FE import canonicalize_span
20+
from FE import canonicalize_union
21+
from FE import canonicalize
22+
from FE import symbolize
23+
from FE import type_corpus
24+
from FE import cwast
25+
from FE import typify
26+
from FE import eval
27+
from FE import identifier
28+
from FE import pp_html
29+
from FE import mod_pool
30+
from FE import dead_code
3131

3232
logger = logging.getLogger(__name__)
3333

FrontEnd/eval.py renamed to FE/eval.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
from typing import Optional, Any, Union
1010
import enum
1111

12-
from FrontEnd import cwast
13-
from FrontEnd import symbolize
14-
from FrontEnd import type_corpus
15-
from FrontEnd import typify
16-
from FrontEnd import identifier
17-
from FrontEnd import canonicalize
12+
from FE import cwast
13+
from FE import symbolize
14+
from FE import type_corpus
15+
from FE import typify
16+
from FE import identifier
17+
from FE import canonicalize
1818

1919
from Util.parse import EscapedStringToBytes, HexStringToBytes
2020

@@ -753,7 +753,7 @@ def main(argv):
753753
import sys
754754
import os
755755
import pathlib
756-
from FrontEnd import mod_pool
756+
from FE import mod_pool
757757

758758
logging.basicConfig(level=logging.WARN)
759759
logger.setLevel(logging.WARN)
File renamed without changes.

FrontEnd/macros.py renamed to FE/macros.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from typing import Any, Tuple
1111

12-
from FrontEnd import cwast
12+
from FE import cwast
1313

1414

1515
logger = logging.getLogger(__name__)

FrontEnd/mod_pool.py renamed to FE/mod_pool.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import collections
66
import heapq
77

8-
from FrontEnd import cwast
9-
from FrontEnd import parse_sexpr
10-
from FrontEnd import symbolize
11-
from FrontEnd import parse
8+
from FE import cwast
9+
from FE import parse_sexpr
10+
from FE import symbolize
11+
from FE import parse
1212

1313
from typing import Optional, Sequence
1414

FrontEnd/mod_pool_test.py renamed to FE/mod_pool_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import pathlib
44
import logging
55

6-
from FrontEnd import cwast
7-
from FrontEnd import mod_pool
8-
from FrontEnd import symbolize
6+
from FE import cwast
7+
from FE import mod_pool
8+
from FE import symbolize
99

1010
logger = logging.getLogger(__name__)
1111

FrontEnd/parse.py renamed to FE/parse.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919

2020
from typing import Any, Optional, Dict
2121

22-
from FrontEnd import cwast
23-
from FrontEnd import parse_sexpr
24-
from FrontEnd import pp
25-
from FrontEnd import pp_sexpr
26-
from FrontEnd import string_re
22+
from FE import cwast
23+
from FE import parse_sexpr
24+
from FE import pp
25+
from FE import pp_sexpr
26+
from FE import string_re
2727

2828
logger = logging.getLogger(__name__)
2929

FrontEnd/parse_sexpr.py renamed to FE/parse_sexpr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
from typing import Any, Tuple, Union
1212

13-
from FrontEnd import cwast
14-
from FrontEnd import string_re
13+
from FE import cwast
14+
from FE import string_re
1515

1616
logger = logging.getLogger(__name__)
1717
############################################################

FrontEnd/pp.py renamed to FE/pp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from typing import Optional, Any, Callable
1111

12-
from FrontEnd import cwast
12+
from FE import cwast
1313

1414

1515
logger = logging.getLogger(__name__)
@@ -1091,7 +1091,7 @@ def PrettyPrint(mod: cwast.DefMod, outp):
10911091
if __name__ == "__main__":
10921092
import sys
10931093

1094-
from FrontEnd import parse
1094+
from FE import parse
10951095

10961096
def process_file(inp, outp):
10971097
mod = parse.ReadModFromStream(inp, "stdin")

FrontEnd/pp_html.py renamed to FE/pp_html.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
import logging
77

8-
from FrontEnd import cwast
9-
from FrontEnd import pp_sexpr
8+
from FE import cwast
9+
from FE import pp_sexpr
1010

11-
from FrontEnd import mod_pool
11+
from FE import mod_pool
1212

1313
logger = logging.getLogger(__name__)
1414

@@ -136,10 +136,10 @@ def PrettyPrintHTML(mod: cwast.DefMod): # -> list[Tuple[int, str]]:
136136
import argparse
137137
import pathlib
138138

139-
from FrontEnd import type_corpus
140-
from FrontEnd import symbolize
141-
from FrontEnd import typify
142-
from FrontEnd import eval
139+
from FE import type_corpus
140+
from FE import symbolize
141+
from FE import typify
142+
from FE import eval
143143

144144
def main() -> int:
145145
parser = argparse.ArgumentParser(description='pretty_printer')

FrontEnd/pp_sexpr.py renamed to FE/pp_sexpr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from typing import Optional
99

10-
from FrontEnd import cwast
10+
from FE import cwast
1111

1212

1313
logger = logging.getLogger(__name__)
@@ -337,7 +337,7 @@ def PrettyPrint(mod: cwast.DefMod, outp):
337337
if __name__ == "__main__":
338338
import argparse
339339

340-
from FrontEnd import parse_sexpr
340+
from FE import parse_sexpr
341341

342342
def main():
343343
parser = argparse.ArgumentParser(description='pretty_printer')
File renamed without changes.

FrontEnd/symbolize.py renamed to FE/symbolize.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
from typing import Optional, Any, Sequence, Union
1010

11-
from FrontEnd import pp_sexpr
12-
from FrontEnd import macros
13-
from FrontEnd import cwast
14-
from FrontEnd import canonicalize
11+
from FE import pp_sexpr
12+
from FE import macros
13+
from FE import cwast
14+
from FE import canonicalize
1515

1616
logger = logging.getLogger(__name__)
1717

@@ -593,7 +593,7 @@ def main(argv):
593593
import sys
594594
import os
595595
import pathlib
596-
from FrontEnd import mod_pool
596+
from FE import mod_pool
597597

598598
logging.basicConfig(level=logging.WARNING)
599599
logger.setLevel(logging.INFO)

FrontEnd/type_corpus.py renamed to FE/type_corpus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from typing import Optional
77

8-
from FrontEnd import cwast
8+
from FE import cwast
99

1010

1111
logger = logging.getLogger(__name__)

FrontEnd/typify.py renamed to FE/typify.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
from typing import Tuple, Any, Optional
3434

3535

36-
from FrontEnd import cwast
37-
from FrontEnd import symbolize
38-
from FrontEnd import type_corpus
39-
from FrontEnd import canonicalize
36+
from FE import cwast
37+
from FE import symbolize
38+
from FE import type_corpus
39+
from FE import canonicalize
4040

4141

4242
logger = logging.getLogger(__name__)
@@ -1336,7 +1336,7 @@ def main(argv):
13361336
import sys
13371337
import os
13381338
import pathlib
1339-
from FrontEnd import mod_pool
1339+
from FE import mod_pool
13401340

13411341
logging.basicConfig(level=logging.WARN)
13421342
logger.setLevel(logging.WARN)

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ tests:
3131
cd CodeGenC && $(MAKE) -s tests && $(MAKE) -s clean
3232
cd Elf && $(MAKE) -s tests && $(MAKE) -s clean
3333
cd Util && $(MAKE) -s tests && $(MAKE) -s clean
34-
cd FrontEnd && $(MAKE) -s tests_py && $(MAKE) -s clean
34+
cd FE && $(MAKE) -s tests_py && $(MAKE) -s clean
3535
cd FrontEndWASM && $(MAKE) -s tests && $(MAKE) -s clean
3636
cd Examples && $(MAKE) -s tests && $(MAKE) -s clean
3737

@@ -59,7 +59,7 @@ tests_github:
5959
cd CodeGenC && $(MAKE) -s tests && $(MAKE) -s clean
6060
cd Elf && $(MAKE) -s tests && $(MAKE) -s clean
6161
cd Util && $(MAKE) -s tests_py && $(MAKE) -s clean
62-
cd FrontEnd && $(MAKE) -s tests_py && $(MAKE) -s clean
62+
cd FE && $(MAKE) -s tests_py && $(MAKE) -s clean
6363
cd FrontEndWASM && $(MAKE) -s tests && $(MAKE) -s clean
6464
cd Examples && $(MAKE) -s tests && $(MAKE) -s clean
6565

0 commit comments

Comments
 (0)