Commit Graph

3091 Commits

Author SHA1 Message Date
peter klausler
ffe393ee9e [flang] More Markdown fixes.
Original-commit: flang-compiler/f18@89bdd4bf07
2018-02-05 15:43:46 -08:00
peter klausler
2bcfa16011 [flang] Fix Markdown usage.
Original-commit: flang-compiler/f18@ee9e67964c
2018-02-05 15:39:52 -08:00
peter klausler
7f9cf6125b [flang] Convert c++style.txt to c++style.md.
Original-commit: flang-compiler/f18@6b846b3c55
2018-02-05 15:28:17 -08:00
peter klausler
eed938f5c4 [flang] Fix #else after triggered #elif.
Original-commit: flang-compiler/f18@77db3281ec
2018-02-05 14:45:32 -08:00
peter klausler
16c6f534a5 [flang] Update .clang-format, then reformat all C++ files.
Original-commit: flang-compiler/f18@0ec44de4b7
2018-02-05 14:29:26 -08:00
peter klausler
bdea10d9af [flang] Adjust indentation on public:/private: labels in class definitions.
Original-commit: flang-compiler/f18@8c0e5a52a9
2018-02-05 12:54:36 -08:00
peter klausler
be830d6b35 [flang] Variadic macros, __VA_ARG__ and __VA_OPT__, and use
"default: CRASH_NO_CASE;" in place of prior macro.

Original-commit: flang-compiler/f18@2108896155
2018-02-05 12:48:09 -08:00
Tim Keith
340a4320b4 [flang] Add .clang-format and "make formatted" rule.
Original-commit: flang-compiler/f18@5ef28a6112
2018-02-05 10:18:38 -08:00
peter klausler
ac12232e68 [flang] C++ usage and style guide summary.
Original-commit: flang-compiler/f18@2cf1be7b05
2018-02-05 10:46:32 -08:00
peter klausler
55fe4d2af5 [flang] More preprocessing.
Original-commit: flang-compiler/f18@a553505c3c
2018-02-02 15:52:43 -08:00
peter klausler
ad7125ffb0 [flang] Predefined macros (__FILE__, __LINE__, __DATE__, __TIME__).
Original-commit: flang-compiler/f18@8c7f51aa87
2018-02-01 15:01:23 -08:00
peter klausler
809235196a [flang] Merge my local .gitignore with master.
Original-commit: flang-compiler/f18@10134ce283
2018-02-01 12:11:24 -08:00
Tim Keith
198a959bf1 [flang] Remove line that was added by mistake
Original-commit: flang-compiler/f18@629348c130
2018-02-01 07:31:53 -08:00
Tim Keith
d45e6c7eda [flang] Add CMakeLists.txt and .gitignore
Original-commit: flang-compiler/f18@d9a1ea4c49
Tree-same-pre-rewrite: false
2018-01-30 16:37:59 -08:00
peter klausler
93cf3aec5e [flang] Support #if/#elif directives with Fortran/C expressions.
Original-commit: flang-compiler/f18@5ea8303954
2018-02-01 12:08:02 -08:00
peter klausler
93db9dd00d [flang] Remove some scaffolding code that I just inadvertently committed, sorry.
Original-commit: flang-compiler/f18@df4dc2ff94
2018-01-30 15:30:56 -08:00
peter klausler
6f94e8472d [flang] Preprocessor work. f18 now passes all my tests except for #if (expression)
and file inclusion.

Original-commit: flang-compiler/f18@07ebac21f5
2018-01-30 15:22:26 -08:00
peter klausler
33d7854c55 [flang] Clean up: convert CharPointerWithLength into a proper class.
Original-commit: flang-compiler/f18@514823234f
2018-01-30 12:21:25 -08:00
peter klausler
880b7939c3 [flang] Add temporary driver main program f2018-demo.cc.
Original-commit: flang-compiler/f18@bbe51ba0ec
2018-01-30 11:55:48 -08:00
peter klausler
55d503fb5a [flang] Add source.{h,cc}.
Original-commit: flang-compiler/f18@39df4a3ef4
2018-01-30 11:55:03 -08:00
peter klausler
e78861cba2 [flang] Add prescan.{h,cc}.
Original-commit: flang-compiler/f18@6437ba318c
2018-01-30 11:54:47 -08:00
peter klausler
90cd9bab20 [flang] Add preprocessor.{h,cc}.
Original-commit: flang-compiler/f18@8ac9fc913d
2018-01-30 11:54:31 -08:00
peter klausler
1651445fd3 [flang] Add position.{h,cc}.
Original-commit: flang-compiler/f18@78c9c256ba
2018-01-30 11:54:19 -08:00
peter klausler
e76093ca67 [flang] Add parse-tree.{h,cc}.
Original-commit: flang-compiler/f18@bface7a17b
2018-01-30 11:54:04 -08:00
peter klausler
4dd84b6512 [flang] Add message.{h,cc}.
Original-commit: flang-compiler/f18@9c21346414
2018-01-30 11:53:49 -08:00
peter klausler
8fca5084fa [flang] Add idioms.{h,cc}.
Original-commit: flang-compiler/f18@237979b3a8
2018-01-30 11:53:33 -08:00
peter klausler
b210228973 [flang] Add Makefile.
Original-commit: flang-compiler/f18@dae1179012
2018-01-30 11:52:26 -08:00
peter klausler
1621078131 [flang] Add user-state.h.
Original-commit: flang-compiler/f18@5daf35b05d
2018-01-30 11:52:12 -08:00
peter klausler
7e293b52c2 [flang] Add parse-state.h.
Original-commit: flang-compiler/f18@357c9f2795
2018-01-30 11:51:59 -08:00
peter klausler
4f342a7899 [flang] Add indirection.h.
Original-commit: flang-compiler/f18@149aa7654c
2018-01-30 11:51:44 -08:00
peter klausler
59cb501b1c [flang] Add grammar.h.
Original-commit: flang-compiler/f18@e5249a0269
2018-01-30 11:51:31 -08:00
peter klausler
77dae1e110 [flang] Add format-specification.h.
Original-commit: flang-compiler/f18@7eea874fa4
2018-01-30 11:51:15 -08:00
peter klausler
74615d7239 [flang] Add debug-parser.h.
Original-commit: flang-compiler/f18@e5484d45b4
2018-01-30 11:50:59 -08:00
peter klausler
5e49363c38 [flang] Add cooked-tokens.h.
Original-commit: flang-compiler/f18@7e452551f7
2018-01-30 11:50:36 -08:00
peter klausler
857165fa86 [flang] Add cooked-chars.h.
Original-commit: flang-compiler/f18@da5c3bf08b
2018-01-30 11:50:21 -08:00
peter klausler
d2fe0d263d [flang] Add char-parsers.h.
Original-commit: flang-compiler/f18@0f72c5cb40
2018-01-30 11:50:05 -08:00
peter klausler
76de984a6a [flang] Add basic-parsers.h.
Original-commit: flang-compiler/f18@2cb456daae
2018-01-30 11:49:46 -08:00
peter klausler
15fdae6efe [flang] Add char-buffer.{h,cc}.
Original-commit: flang-compiler/f18@14adb86568
2018-01-30 11:47:17 -08:00
peter klausler
e4e52073c2 [flang] Add parser-combinators.txt documentation file.
Original-commit: flang-compiler/f18@c4634a44b9
2018-01-29 15:39:42 -08:00
peter klausler
6ae0a5aca6 [flang] Adding initial files.
Original-commit: flang-compiler/f18@8afd0a6c23
2018-01-29 14:55:57 -08:00
Tim Keith
e4344e42cf [flang] Add README
Original-commit: flang-compiler/f18@39876049a9
2018-01-25 13:36:26 -08:00