Skip to content

Commit 4e247c5

Browse files
committed
init commit for the parser_cli
1 parent 053a11e commit 4e247c5

Some content is hidden

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

49 files changed

+869
-1478
lines changed

parser/.editorconfig

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# Top-most EditorConfig file
4+
root = true
5+
6+
# Default settings for all files
7+
[*]
8+
indent_style = space
9+
indent_size = 4
10+
end_of_line = lf
11+
charset = utf-8
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
# C++ source files
16+
[*.{cpp,hpp,c,h}]
17+
indent_style = space
18+
indent_size = 4
19+
max_line_length = 80
20+
21+
# Markdown files
22+
[*.md]
23+
max_line_length = off
24+
trim_trailing_whitespace = false
25+
26+
# Makefiles
27+
[Makefile]
28+
indent_style = tab
29+
30+
# Ignore binary files
31+
[*.{exe,dll,so,dylib,o,a,lib}]
32+
binary = true

parser/.gitignore

Lines changed: 21 additions & 181 deletions
Original file line numberDiff line numberDiff line change
@@ -1,203 +1,43 @@
1-
# This file is used to ignore files which are generated
2-
# ----------------------------------------------------------------------------
3-
4-
# Compiled Object files
1+
# Compiled object files
52
*.o
6-
*.obj
7-
8-
# Precompiled Header files
9-
*.gch
10-
*.pch
113

12-
# Compiled Dynamic libraries
13-
*.so
14-
*.dylib
4+
# Compiled dynamic libraries
155
*.dll
16-
17-
# Compiled Static libraries
18-
*.a
19-
*.lib
20-
21-
# Executable files
22-
scanner
23-
*.exe
24-
*.out
25-
26-
# Debug files
27-
*.dSYM/
28-
*.stackdump
29-
30-
# Temporary files and backups
31-
*.tmp
32-
*.swp
33-
*.bak
34-
*.log
35-
36-
# OS generated files
37-
.DS_Store
38-
Thumbs.db
39-
40-
# C++ cache files and directories
41-
*.cache
42-
.cache/
43-
*.ccache
44-
.ccache/
45-
46-
# Visual Studio Code workspace settings
47-
.vscode/
48-
*.code-workspace
49-
50-
# CLion and JetBrains IDE files
51-
.idea/
52-
cmake-build-*/
53-
54-
# Ignore binary and debug folders
55-
bin/
56-
debug/
57-
release/
58-
build/
59-
60-
# Compiled Object files
61-
*.o
62-
*.obj
63-
64-
# Precompiled Header files
65-
*.gch
66-
*.pch
67-
68-
# Compiled Dynamic libraries
696
*.so
707
*.dylib
71-
*.dll
728

73-
# Compiled Static libraries
74-
*.a
9+
# Compiled static libraries
7510
*.lib
11+
*.a
7612

7713
# Executable files
78-
scanner
7914
*.exe
8015
*.out
16+
*.app
8117

82-
# Debug files
83-
*.dSYM/
84-
*.stackdump
18+
# Build directories
19+
/build/
20+
/bin/
8521

86-
# Temporary files and backups
22+
# Temporary files
8723
*.tmp
24+
*~
8825
*.swp
89-
*.bak
90-
*.log
91-
92-
# OS generated files
93-
.DS_Store
94-
Thumbs.db
95-
96-
# C++ cache files and directories
97-
*.cache
98-
.cache/
99-
*.ccache
100-
.ccache/
26+
*.swo
27+
*.swn
10128

102-
# Visual Studio Code workspace settings
29+
# Editor directories and files
10330
.vscode/
104-
*.code-workspace
105-
106-
# CLion and JetBrains IDE files
10731
.idea/
108-
cmake-build-*/
109-
110-
# Ignore binary and debug folders
111-
bin/
112-
debug/
113-
release/
32+
*.sublime-workspace
33+
*.sublime-project
11434

115-
# Qt-specific files
116-
*.pro.user
117-
*.qmake.stash
118-
Makefile*
119-
*.moc
120-
*.rcc
121-
*.qrc.dep
122-
*.qmlc
123-
*.qmltypes
124-
ui_*.h
125-
126-
# CMake-generated files
127-
CMakeCache.txt
128-
CMakeFiles/
129-
cmake_install.cmake
130-
CTestTestfile.cmake
131-
Makefile
132-
133-
*~
134-
*.autosave
135-
*.a
136-
*.core
137-
*.moc
138-
*.o
139-
*.obj
140-
*.orig
141-
*.rej
142-
*.so
143-
*.so.*
144-
*_pch.h.cpp
145-
*_resource.rc
146-
*.qm
147-
.#*
148-
*.*#
149-
core
150-
!core/
151-
tags
35+
# Mac OS X files
15236
.DS_Store
153-
.directory
154-
*.debug
155-
Makefile*
156-
*.prl
157-
*.app
158-
moc_*.cpp
159-
ui_*.h
160-
qrc_*.cpp
161-
Thumbs.db
162-
*.res
163-
*.rc
164-
/.qmake.cache
165-
/.qmake.stash
166-
167-
# qtcreator generated files
168-
*.pro.user*
169-
CMakeLists.txt.user*
170-
171-
# xemacs temporary files
172-
*.flc
173-
174-
# Vim temporary files
175-
.*.swp
17637

177-
# Visual Studio generated files
178-
*.ib_pdb_index
179-
*.idb
180-
*.ilk
181-
*.pdb
182-
*.sln
183-
*.suo
184-
*.vcproj
185-
*vcproj.*.*.user
186-
*.ncb
187-
*.sdf
188-
*.opensdf
189-
*.vcxproj
190-
*vcxproj.*
191-
192-
# MinGW generated files
193-
*.Debug
194-
*.Release
195-
196-
# Python byte code
197-
*.pyc
198-
199-
# Binaries
200-
# --------
201-
*.dll
202-
*.exe
38+
# Logs
39+
logs/
40+
*.log
20341

42+
# Ignore the executable
43+
tiny_parser

parser/CMakeLists.txt

Lines changed: 0 additions & 113 deletions
This file was deleted.

parser/Data/include/ParseTree.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)