Commit Graph

32 Commits

Author SHA1 Message Date
Marko Budiselic
6eac9a5ac5 first proposal of compile process 2016-02-10 23:34:49 +01:00
Marko Budiselic
7d8c5a7f7e query engine can now generate, compile and run dummy code, everything is ready to generate code for dummy the query: CREATE (n {...}) RETURN n 2016-02-07 22:56:52 +01:00
Marko Budiselic
183ec03730 cypher token update; explicit bool operator 2016-02-06 16:27:21 +01:00
Marko Budiselic
a21fe854c2 small rewrite of QueryStripper, Lexer and CypherLexer 2016-02-06 13:45:45 +01:00
Marko Budiselic
3e5f2de6c2 query stripping and stripped string hash calculation 2016-02-03 00:18:20 +01:00
Marko Budiselic
7e38ffe479 minor changes, cppgen was removed from cypher, query_engine should for now contain that kind of logic 2016-01-30 18:57:18 +01:00
Marko Budiselic
0cf55d36c6 cypher compiler and Ast are now wrapped inside the query engine 2016-01-28 00:29:38 +01:00
Marko Budiselic
e2bbcae3ac initial work on query engine, only rough draft of the first level of the arhitecture, implementation is still empty 2016-01-26 23:40:11 +01:00
Marko Budiselic
aa49a0997e MATCH ... SET ... RETURN clause 2016-01-25 21:22:12 +01:00
Marko Budiselic
7c52817e41 First implementation of delete query 2016-01-24 16:21:46 +01:00
Marko Budiselic
1a6676e240 some query examples are modified and try to add AS in grammar (not successfully one) 2016-01-19 23:36:00 +01:00
Marko Budiselic
f79add5633 DISTINCT is now inside AST; tradeoff: [Return object with return list and distinct pointers -> query executor is going to be more complex] OR [ReturnList object and ReturnDistinct object -> lemon / LARL(1) syntax will be much more complex] 2016-01-18 00:41:54 +01:00
Marko Budiselic
2998527462 work on cypher compiler, only cypher query example files were added 2016-01-16 18:24:35 +01:00
Marko Budiselic
ba434cf48a ifndef are replaced with the pragma once 2015-12-07 21:51:55 +01:00
Marko Budiselic
aeb8586bfd uint64_t was replaced with the Id object. Fixes T28. 2015-11-21 19:16:19 +01:00
Marko Budiselic
8850a649a9 cppgen first steps 2015-11-01 23:28:08 +01:00
Marko Budiselic
49941fca40 the command line arguments processing is now inside the utils/command_line/arguments 2015-11-01 18:03:15 +01:00
Marko Budiselic
e5d2c3af86 cppgen test 2015-10-30 01:24:01 +01:00
Dominik Tomičević
bce9762add added example for codegen 2015-10-28 22:55:57 +01:00
Dominik Tomičević
807912c151 cypher + new tcp server 2015-10-27 20:21:28 +01:00
Dominik Tomičević
2d6d2f8527 working on cypher parser 2015-10-18 19:44:00 +02:00
Dominik Tomičević
38ec6a10b1 implemented a lockfree list
Summary: It's not the fastest for all operations but it's efficient on inserts to front and list traversals. removes are quite slow but it's not important because remove is only used by the garbage collector.

Test Plan: Reason wisely

Reviewers: buda, borko

Differential Revision: https://phabricator.tomicevic.com/D1
2015-09-22 01:13:42 +02:00
buda
03e7999e53 Lexertl init script 2015-09-17 22:20:52 +02:00
Dominik Tomičević
f1cedfc409 added lempar to repository 2015-09-17 21:52:16 +02:00
Dominik Tomičević
1a79d6f1f8 added gitignore and modified makefile for lemon 2015-09-17 21:49:34 +02:00
Dominik Tomičević
306b6e7840 added makefile for lemon 2015-09-17 21:46:24 +02:00
Dominik Tomičević
5c8b03bef5 modified gitignore 2015-09-17 21:41:36 +02:00
Dominik Tomičević
65d1920af5 Merge branch 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph
* 'master' of https://phabricator.tomicevic.com/diffusion/MG/memgraph:
  Lexertl git submodule
  Initial version of the router class (not yet implemented)
2015-09-17 21:40:37 +02:00
buda
664675a15e Lexertl git submodule 2015-09-17 21:37:53 +02:00
Dominik Tomičević
ad1174456b added lemon dependency to project 2015-09-17 21:35:51 +02:00
Dominik Tomičević
e28d15c272 worked on mvcc, compiler and some utils, unfinished 2015-09-13 11:34:17 +02:00
Dominik Tomičević
fef9953f45 a wild random checkpoint commit appeared 2015-08-30 01:12:46 +02:00