Skip to content

Commit 949e606

Browse files
committed
v0.0.4 change ANTLR parser for Agtype
1 parent 5fe5b52 commit 949e606

29 files changed

+1738
-1703
lines changed

.gitignore

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
# Unless required by applicable law or agreed to in writing,
10+
# software distributed under the License is distributed on an
11+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12+
# KIND, either express or implied. See the License for the
13+
# specific language governing permissions and limitations
14+
# under the License.
115

16+
# Local python directory
217
**/.ipynb_checkpoints/
318
**/__pycache__/
419
apache_age_py.egg-info/
520
apache_age_python.egg-info/
621
dist/
722
build/
8-
antlr/.antlr
9-
/exp2/
10-
.DS_Store
23+
.DS_Store
24+
25+
# antlr generated files
26+
**/.antlr/
27+
**/*.interp
28+
**/*.tokens

__init__.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
# Unless required by applicable law or agreed to in writing,
10+
# software distributed under the License is distributed on an
11+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12+
# KIND, either express or implied. See the License for the
13+
# specific language governing permissions and limitations
14+
# under the License.

age/VERSION.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11

2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
# Unless required by applicable law or agreed to in writing,
11+
# software distributed under the License is distributed on an
12+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13+
# KIND, either express or implied. See the License for the
14+
# specific language governing permissions and limitations
15+
# under the License.
216

317
VER_MAJOR = 0
418
VER_MINOR = 0
5-
VER_MICRO = 3
19+
VER_MICRO = 4
620

721
VERSION = '.'.join([str(VER_MAJOR),str(VER_MINOR),str(VER_MICRO)])

age/__init__.py

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
# Unless required by applicable law or agreed to in writing,
10+
# software distributed under the License is distributed on an
11+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12+
# KIND, either express or implied. See the License for the
13+
# specific language governing permissions and limitations
14+
# under the License.
115
from . import age
216
from .age import *
317
from .models import *

age/age.py

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
# Unless required by applicable law or agreed to in writing,
10+
# software distributed under the License is distributed on an
11+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12+
# KIND, either express or implied. See the License for the
13+
# specific language governing permissions and limitations
14+
# under the License.
115
import re
216
import psycopg2
317
from psycopg2 import errors

0 commit comments

Comments
 (0)