summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
peter klausler [Fri, 9 Feb 2018 23:56:02 +0000 (15:56 -0800)]
[flang] Debugging new provenance support.
Original-commit: flang-compiler/f18@
1233f666da21d88fb84968c1e46cddf45557d0a1
Reviewed-on: https://github.com/flang-compiler/f18/pull/9
Tree-same-pre-rewrite: false
peter klausler [Fri, 9 Feb 2018 22:04:11 +0000 (14:04 -0800)]
[flang] Replace Position with Provenance everywhere.
Original-commit: flang-compiler/f18@
8c2da3f8cc687012756a85567553500fac64c824
Reviewed-on: https://github.com/flang-compiler/f18/pull/9
Tree-same-pre-rewrite: false
peter klausler [Thu, 8 Feb 2018 00:24:02 +0000 (16:24 -0800)]
[flang] Development of character provenance.
Original-commit: flang-compiler/f18@
88c532958006ad064cab88d2405055a456b07dcf
Reviewed-on: https://github.com/flang-compiler/f18/pull/9
Tree-same-pre-rewrite: false
peter klausler [Wed, 7 Feb 2018 21:18:36 +0000 (13:18 -0800)]
[flang] Begin work on character provenances.
Original-commit: flang-compiler/f18@
ea3c05af5a43396aad8e68fef1f068026a2d40e7
Reviewed-on: https://github.com/flang-compiler/f18/pull/9
Tree-same-pre-rewrite: false
Tim Keith [Thu, 15 Feb 2018 17:08:15 +0000 (09:08 -0800)]
[flang] Merge pull request flang-compiler/f18#8 from ThePortlandGroup/tsk1
More work on types
Original-commit: flang-compiler/f18@
f330b03fc206a1bc39cd46bf102db14a9f4d8b2a
Reviewed-on: https://github.com/flang-compiler/f18/pull/8
Tim Keith [Thu, 15 Feb 2018 16:27:19 +0000 (08:27 -0800)]
[flang] Rename methods with uppercase names.
Original-commit: flang-compiler/f18@
00fec54e5af1b88c4844cbc1b7cc3243a3d34dbf
Reviewed-on: https://github.com/flang-compiler/f18/pull/8
Tim Keith [Wed, 14 Feb 2018 23:29:18 +0000 (15:29 -0800)]
[flang] Add test-type.cc to build types from parse tree.
Original-commit: flang-compiler/f18@
47101317fbe56c6ea9b947c6d0eef913abd310e1
Reviewed-on: https://github.com/flang-compiler/f18/pull/8
Tree-same-pre-rewrite: false
Tim Keith [Wed, 14 Feb 2018 23:24:02 +0000 (15:24 -0800)]
[flang] Continue adding to type.h
New classes: Bound, DeclTypeSpec, ShapeSpec, ComponentArraySpec,
DataComponentDef, ProcDecl, ProcComponentDef, DerivedTypedef
Original-commit: flang-compiler/f18@
a09d1e8c81145a0dc92a8e26c0ca5a6a622309fd
Reviewed-on: https://github.com/flang-compiler/f18/pull/8
Tree-same-pre-rewrite: false
Tim Keith [Wed, 14 Feb 2018 23:07:59 +0000 (15:07 -0800)]
[flang] Add Attrs class to represent set of Attr
Original-commit: flang-compiler/f18@
8bb1f0eb9bee7c3de262eb82a9395127fd22db46
Reviewed-on: https://github.com/flang-compiler/f18/pull/8
Tree-same-pre-rewrite: false
Steve Scalpone [Wed, 14 Feb 2018 17:07:01 +0000 (12:07 -0500)]
[flang] Merge pull request flang-compiler/f18#7 from ThePortlandGroup/revert-6-schauveau_cmake
Revert "Schauveau cmake"
Original-commit: flang-compiler/f18@
f786d7c85884d5aaadf2cff59b9b08c75592d578
Reviewed-on: https://github.com/flang-compiler/f18/pull/7
Steve Scalpone [Wed, 14 Feb 2018 17:06:47 +0000 (09:06 -0800)]
[flang] Revert "Schauveau cmake"
Original-commit: flang-compiler/f18@
be33dc182a9bcfa664095886ca62b3b1db4eb797
Reviewed-on: https://github.com/flang-compiler/f18/pull/7
schauveau [Fri, 9 Feb 2018 09:09:20 +0000 (10:09 +0100)]
[flang] Merge pull request flang-compiler/f18#6 from ThePortlandGroup/schauveau_cmake
Merging since nobody appear to have any issues
Original-commit: flang-compiler/f18@
913597e53a1d2efd1ed364eedf6977e43cf07596
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Stephane Chauveau [Thu, 8 Feb 2018 15:27:55 +0000 (16:27 +0100)]
[flang] Fix incorrect clang/ directory name in include
Original-commit: flang-compiler/f18@
ff61e3228a26dbd6e2661fc45d145f4e90d83e3d
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Stephane Chauveau [Thu, 8 Feb 2018 14:59:02 +0000 (15:59 +0100)]
[flang] Simplified git clone in README
Original-commit: flang-compiler/f18@
198d2e6c8a8a0ffee461acc76f7d1a252ad366da
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Stephane Chauveau [Thu, 8 Feb 2018 14:01:55 +0000 (15:01 +0100)]
[flang] fix bad indentation in README
Original-commit: flang-compiler/f18@
60a0123f46b74d3fad942bf359ebe5ba11da5cdd
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Stephane Chauveau [Thu, 8 Feb 2018 14:00:09 +0000 (15:00 +0100)]
[flang] minor changres
Original-commit: flang-compiler/f18@
1d351d2114be216472b89ff2f4a07ceceddddb8d
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Stephane Chauveau [Thu, 8 Feb 2018 13:57:51 +0000 (14:57 +0100)]
[flang] updated build instructions in README.md
Original-commit: flang-compiler/f18@
0fea8bd042469738ab08bdc95fc46b24c6fac3ad
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Stephane Chauveau [Thu, 8 Feb 2018 13:48:30 +0000 (14:48 +0100)]
[flang] add preliminary README file
Original-commit: flang-compiler/f18@
1fc60916fbc3339056fe889e8ac50a2906387c49
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Stephane Chauveau [Thu, 8 Feb 2018 13:40:07 +0000 (14:40 +0100)]
[flang] after clang-format
Original-commit: flang-compiler/f18@
7e464a7c3315b9dfc6db2861145d7e3455652548
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Stephane Chauveau [Thu, 8 Feb 2018 13:33:30 +0000 (14:33 +0100)]
[flang] Add new global CMakefile infrastructure with examples
Original-commit: flang-compiler/f18@
81b91f327052cd0596e96af9c33b2d0e221d10f5
Reviewed-on: https://github.com/flang-compiler/f18/pull/6
Tree-same-pre-rewrite: false
Tim Keith [Thu, 8 Feb 2018 00:27:36 +0000 (16:27 -0800)]
[flang] Clean up Makefile, add reformat target.
Now the only targets in Makefile are Debug, Release, and reformat.
"make reformat" reformats all C++ source in place.
Also includes the result of "make reformat". Most of the changes were
just moving the "main" include up.
Original-commit: flang-compiler/f18@
cf7d3a7afb650b5fc952894136dd18e5551ac578
Tim Keith [Thu, 8 Feb 2018 00:08:09 +0000 (16:08 -0800)]
[flang] Merge pull request flang-compiler/f18#5 from ThePortlandGroup/tsk1
Move type.{h,cc} and attr.{h,cc}
Original-commit: flang-compiler/f18@
612918f261cd131b307e37e9c913c6b11d007079
Reviewed-on: https://github.com/flang-compiler/f18/pull/5
Tim Keith [Wed, 7 Feb 2018 23:54:07 +0000 (15:54 -0800)]
[flang] Move type.{h,cc} and attr.{h,cc}
The are now in new namespace and directory, "semantics", similar to
"parser".
Original-commit: flang-compiler/f18@
115a1341e2f072e19a3a37da85e9f7f91e42c2be
Reviewed-on: https://github.com/flang-compiler/f18/pull/5
Tim Keith [Wed, 7 Feb 2018 23:24:44 +0000 (15:24 -0800)]
[flang] Merge pull request flang-compiler/f18#3 from tskeith/type
Initial work on the representation of types.
Original-commit: flang-compiler/f18@
7f2bbe3f48eac010b93acdce5c6e7bf0a86308dc
Reviewed-on: https://github.com/flang-compiler/f18/pull/3
Tim Keith [Wed, 7 Feb 2018 23:19:54 +0000 (15:19 -0800)]
[flang] Adapt to new directory for idioms.cc, idioms.h.
Change idioms.h so that calls to die will work outside the parser
namespace.
Use unordered_map to cache IntConst values.
Original-commit: flang-compiler/f18@
9d06c385d9f2d9598f8e882d3badc9544c3567b9
Reviewed-on: https://github.com/flang-compiler/f18/pull/3
Tim Keith [Wed, 7 Feb 2018 21:57:58 +0000 (13:57 -0800)]
[flang] Address some of the review comments.
Original-commit: flang-compiler/f18@
ecdffa374590f5d36c9c3ab22d6108c1c128e596
Reviewed-on: https://github.com/flang-compiler/f18/pull/3
Tree-same-pre-rewrite: false
Tim Keith [Wed, 7 Feb 2018 00:46:29 +0000 (16:46 -0800)]
[flang] Initial work on the representation of types.
Still work to do for derived types components, array specs, type-bound
procedures, etc.
Added executable type-test to the cmake file which exercises some of the
basic functionality. Modified the Makefile so that "make Debug" does a
cmake build.
Original-commit: flang-compiler/f18@
02e8c4c867685959f8623ca8a4c2277756ecbe6c
Reviewed-on: https://github.com/flang-compiler/f18/pull/3
Tree-same-pre-rewrite: false
klausler [Wed, 7 Feb 2018 20:29:36 +0000 (12:29 -0800)]
[flang] Merge pull request flang-compiler/f18#4 from ThePortlandGroup/directories
Impose a directory structure and intermediate namespace.
Original-commit: flang-compiler/f18@
34fc2397aa8fa21510e8b477983c09c8499b4235
Reviewed-on: https://github.com/flang-compiler/f18/pull/4
peter klausler [Wed, 7 Feb 2018 20:27:36 +0000 (12:27 -0800)]
[flang] Tweaked .clang-format, then ran it.
Original-commit: flang-compiler/f18@
e10e43b6914e91414e4f8253c249c61df4a5ac32
Reviewed-on: https://github.com/flang-compiler/f18/pull/4
peter klausler [Wed, 7 Feb 2018 20:04:42 +0000 (12:04 -0800)]
[flang] Impose a directory structure. Move files around. Introduce
an intermediate "parser" namespace.
Original-commit: flang-compiler/f18@
690b6f0d1e92bdc694196f7857ffb0aa213f2edf
Reviewed-on: https://github.com/flang-compiler/f18/pull/4
Tree-same-pre-rewrite: false
peter klausler [Tue, 6 Feb 2018 19:14:53 +0000 (11:14 -0800)]
[flang] Markdown improvements.
Original-commit: flang-compiler/f18@
f40b5e40df72542153552442fd6800fe6449236f
peter klausler [Tue, 6 Feb 2018 00:53:38 +0000 (16:53 -0800)]
[flang] Convert parser combinator documentation file to Markdown.
Original-commit: flang-compiler/f18@
263865c97a4214ec69bed95cf362df6bfa4c1e09
peter klausler [Tue, 6 Feb 2018 00:08:46 +0000 (16:08 -0800)]
[flang] Alphabetize and remove settings that match LLVM defaults.
Original-commit: flang-compiler/f18@
82b1803f76a0053042a736f508e56c8e62817d4d
peter klausler [Mon, 5 Feb 2018 23:59:19 +0000 (15:59 -0800)]
[flang] Rename c++style.md -> C++style.md.
Original-commit: flang-compiler/f18@
4bde27deaed74b90b5907349052b6650b3cae360
peter klausler [Mon, 5 Feb 2018 23:58:22 +0000 (15:58 -0800)]
[flang] More Markdown fixes.
Original-commit: flang-compiler/f18@
8e77ed1f0ceeeeead3be7a62b79aaebd355978fc
peter klausler [Mon, 5 Feb 2018 23:53:17 +0000 (15:53 -0800)]
[flang] More Markdown fixes.
Original-commit: flang-compiler/f18@
7097566fa5451901bd2d945ea30e0f82e98ec4ae
peter klausler [Mon, 5 Feb 2018 23:50:42 +0000 (15:50 -0800)]
[flang] More Markdown fixes.
Original-commit: flang-compiler/f18@
7f7b1deb31d6adcb95906f5923cf081628423e79
peter klausler [Mon, 5 Feb 2018 23:43:46 +0000 (15:43 -0800)]
[flang] More Markdown fixes.
Original-commit: flang-compiler/f18@
89bdd4bf07a5bfecc56d762c4163e1f87509ce5e
peter klausler [Mon, 5 Feb 2018 23:39:52 +0000 (15:39 -0800)]
[flang] Fix Markdown usage.
Original-commit: flang-compiler/f18@
ee9e67964c16db55e1711a165720249ed1af7a66
peter klausler [Mon, 5 Feb 2018 23:28:17 +0000 (15:28 -0800)]
[flang] Convert c++style.txt to c++style.md.
Original-commit: flang-compiler/f18@
6b846b3c55ad2a044934406832ba55fae737dc8e
peter klausler [Mon, 5 Feb 2018 22:45:32 +0000 (14:45 -0800)]
[flang] Fix #else after triggered #elif.
Original-commit: flang-compiler/f18@
77db3281ecca5ee211fd4e0926bbfddc804ff63c
peter klausler [Mon, 5 Feb 2018 22:29:26 +0000 (14:29 -0800)]
[flang] Update .clang-format, then reformat all C++ files.
Original-commit: flang-compiler/f18@
0ec44de4b7f97574f69d943aaa5a2318ee8f2636
peter klausler [Mon, 5 Feb 2018 20:54:36 +0000 (12:54 -0800)]
[flang] Adjust indentation on public:/private: labels in class definitions.
Original-commit: flang-compiler/f18@
8c0e5a52a90eaacc5fae2fe9523065e42d51c491
peter klausler [Mon, 5 Feb 2018 20:48:09 +0000 (12:48 -0800)]
[flang] Variadic macros, __VA_ARG__ and __VA_OPT__, and use
"default: CRASH_NO_CASE;" in place of prior macro.
Original-commit: flang-compiler/f18@
21088961554347d28e88e14f9c82eeb0987867af
peter klausler [Mon, 5 Feb 2018 18:47:12 +0000 (10:47 -0800)]
[flang] Merge branch 'master' of https://github.com/ThePortlandGroup/f18
Original-commit: flang-compiler/f18@
be3e2baa39fbd030b43a0b307674ff5aff81a12f
Tim Keith [Mon, 5 Feb 2018 18:18:38 +0000 (10:18 -0800)]
[flang] Add .clang-format and "make formatted" rule.
Original-commit: flang-compiler/f18@
5ef28a6112698b8d99b1922ca708e19ae6327176
peter klausler [Mon, 5 Feb 2018 18:46:32 +0000 (10:46 -0800)]
[flang] C++ usage and style guide summary.
Original-commit: flang-compiler/f18@
2cf1be7b0500faea2266fd0ba6373d13a5420b80
peter klausler [Fri, 2 Feb 2018 23:52:43 +0000 (15:52 -0800)]
[flang] More preprocessing.
Original-commit: flang-compiler/f18@
a553505c3c99ec8744d5e3435bb14f4feb2f19c9
peter klausler [Thu, 1 Feb 2018 23:01:23 +0000 (15:01 -0800)]
[flang] Predefined macros (__FILE__, __LINE__, __DATE__, __TIME__).
Original-commit: flang-compiler/f18@
8c7f51aa87d711ab63f343cf4ba0131cf3728264
peter klausler [Thu, 1 Feb 2018 20:11:24 +0000 (12:11 -0800)]
[flang] Merge my local .gitignore with master.
Original-commit: flang-compiler/f18@
10134ce28313f46952c00f460ccaaea76478c3e9
peter klausler [Thu, 1 Feb 2018 20:09:54 +0000 (12:09 -0800)]
[flang] Merge branch 'master' of https://github.com/ThePortlandGroup/f18
Original-commit: flang-compiler/f18@
d192939d539f0e592d444b0b3c7a1cef07b3433a
Tim Keith [Thu, 1 Feb 2018 15:31:53 +0000 (07:31 -0800)]
[flang] Remove line that was added by mistake
Original-commit: flang-compiler/f18@
629348c130ff2d685c9a5d123bdbae9fad676fd0
Tim Keith [Wed, 31 Jan 2018 00:37:59 +0000 (16:37 -0800)]
[flang] Add CMakeLists.txt and .gitignore
Original-commit: flang-compiler/f18@
d9a1ea4c49893df5917170270cf6ef5d1880f6ea
Tree-same-pre-rewrite: false
peter klausler [Thu, 1 Feb 2018 20:08:02 +0000 (12:08 -0800)]
[flang] Support #if/#elif directives with Fortran/C expressions.
Original-commit: flang-compiler/f18@
5ea8303954b27b819c37ae87a5fc107a2f0bfa41
peter klausler [Tue, 30 Jan 2018 23:30:56 +0000 (15:30 -0800)]
[flang] Remove some scaffolding code that I just inadvertently committed, sorry.
Original-commit: flang-compiler/f18@
df4dc2ff9481c04ddc35e3650d03c4efe39e9c39
peter klausler [Tue, 30 Jan 2018 23:22:26 +0000 (15:22 -0800)]
[flang] Preprocessor work. f18 now passes all my tests except for #if (expression)
and file inclusion.
Original-commit: flang-compiler/f18@
07ebac21f543a224a8f426faf206f7525899081e
peter klausler [Tue, 30 Jan 2018 20:21:25 +0000 (12:21 -0800)]
[flang] Clean up: convert CharPointerWithLength into a proper class.
Original-commit: flang-compiler/f18@
514823234fefd422dce2c9f7407c208982e459de
peter klausler [Tue, 30 Jan 2018 19:55:48 +0000 (11:55 -0800)]
[flang] Add temporary driver main program f2018-demo.cc.
Original-commit: flang-compiler/f18@
bbe51ba0ec745088d3cee6d5a170b21fdc71e750
peter klausler [Tue, 30 Jan 2018 19:55:03 +0000 (11:55 -0800)]
[flang] Add source.{h,cc}.
Original-commit: flang-compiler/f18@
39df4a3ef416fa8484542152f2085e9b5a039d53
peter klausler [Tue, 30 Jan 2018 19:54:47 +0000 (11:54 -0800)]
[flang] Add prescan.{h,cc}.
Original-commit: flang-compiler/f18@
6437ba318c8761ad8206dc88d700717fdd4131b7
peter klausler [Tue, 30 Jan 2018 19:54:31 +0000 (11:54 -0800)]
[flang] Add preprocessor.{h,cc}.
Original-commit: flang-compiler/f18@
8ac9fc913d3762f791a411f34fa4f9622d6b3950
peter klausler [Tue, 30 Jan 2018 19:54:19 +0000 (11:54 -0800)]
[flang] Add position.{h,cc}.
Original-commit: flang-compiler/f18@
78c9c256ba1c68946be1a9f7ef87dd704fd1ef27
peter klausler [Tue, 30 Jan 2018 19:54:04 +0000 (11:54 -0800)]
[flang] Add parse-tree.{h,cc}.
Original-commit: flang-compiler/f18@
bface7a17bb774d10f4615e2816f1aa178b49a1a
peter klausler [Tue, 30 Jan 2018 19:53:49 +0000 (11:53 -0800)]
[flang] Add message.{h,cc}.
Original-commit: flang-compiler/f18@
9c21346414a4e13f1bef8b40607880fbcb9bb7f6
peter klausler [Tue, 30 Jan 2018 19:53:33 +0000 (11:53 -0800)]
[flang] Add idioms.{h,cc}.
Original-commit: flang-compiler/f18@
237979b3a8e596ec28edf244c641de1e6ca77f81
peter klausler [Tue, 30 Jan 2018 19:52:26 +0000 (11:52 -0800)]
[flang] Add Makefile.
Original-commit: flang-compiler/f18@
dae117901271d1bd771752689ce76d50411bad7e
peter klausler [Tue, 30 Jan 2018 19:52:12 +0000 (11:52 -0800)]
[flang] Add user-state.h.
Original-commit: flang-compiler/f18@
5daf35b05d7b72ef99dfb756ee0123c87ba167e4
peter klausler [Tue, 30 Jan 2018 19:51:59 +0000 (11:51 -0800)]
[flang] Add parse-state.h.
Original-commit: flang-compiler/f18@
357c9f27955fb3051e85d12720a9271fa8de1b85
peter klausler [Tue, 30 Jan 2018 19:51:44 +0000 (11:51 -0800)]
[flang] Add indirection.h.
Original-commit: flang-compiler/f18@
149aa7654c5f7533b2816bea72f47f7687ff122e
peter klausler [Tue, 30 Jan 2018 19:51:31 +0000 (11:51 -0800)]
[flang] Add grammar.h.
Original-commit: flang-compiler/f18@
e5249a02694e54dc8c1183d265aa3bb07e1a9437
peter klausler [Tue, 30 Jan 2018 19:51:15 +0000 (11:51 -0800)]
[flang] Add format-specification.h.
Original-commit: flang-compiler/f18@
7eea874fa421833d0d031c7bde7d573bc6dc37b7
peter klausler [Tue, 30 Jan 2018 19:50:59 +0000 (11:50 -0800)]
[flang] Add debug-parser.h.
Original-commit: flang-compiler/f18@
e5484d45b4d6ec1e52f79cadcd6979fd9126ff77
peter klausler [Tue, 30 Jan 2018 19:50:36 +0000 (11:50 -0800)]
[flang] Add cooked-tokens.h.
Original-commit: flang-compiler/f18@
7e452551f7647191fac183b10e042d72aa547997
peter klausler [Tue, 30 Jan 2018 19:50:21 +0000 (11:50 -0800)]
[flang] Add cooked-chars.h.
Original-commit: flang-compiler/f18@
da5c3bf08bf5ffbb0b0b53c1335409d9cab90443
peter klausler [Tue, 30 Jan 2018 19:50:05 +0000 (11:50 -0800)]
[flang] Add char-parsers.h.
Original-commit: flang-compiler/f18@
0f72c5cb400a9ff8acc1aa35433b03757700db7d
peter klausler [Tue, 30 Jan 2018 19:49:46 +0000 (11:49 -0800)]
[flang] Add basic-parsers.h.
Original-commit: flang-compiler/f18@
2cb456daaeb3a7768f853928e013efdab9963315
peter klausler [Tue, 30 Jan 2018 19:47:17 +0000 (11:47 -0800)]
[flang] Add char-buffer.{h,cc}.
Original-commit: flang-compiler/f18@
14adb86568730f708ff4f5b85ef29c440a0b80b1
peter klausler [Mon, 29 Jan 2018 23:39:42 +0000 (15:39 -0800)]
[flang] Add parser-combinators.txt documentation file.
Original-commit: flang-compiler/f18@
c4634a44b9081f80440c009c5c400da5cd5e8804
peter klausler [Mon, 29 Jan 2018 22:55:57 +0000 (14:55 -0800)]
[flang] Adding initial files.
Original-commit: flang-compiler/f18@
8afd0a6c23c4db1a7b15d77818b17c6ae176781a
Tim Keith [Thu, 25 Jan 2018 21:36:26 +0000 (13:36 -0800)]
[flang] Add README
Original-commit: flang-compiler/f18@
39876049a9d64450329604ec5d3d617cea1608e8