Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C++ Template Metaprogramming Backend #39

Merged
merged 2 commits into from
Feb 25, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rename files for C++ template backend
  • Loading branch information
keiichiw committed Feb 25, 2017
commit 8330ce26bd0d85373b3b5da7cc19d976b8d6dea1
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ ELC_SRCS := \
c.c \
cl.c \
cpp.c \
cpp_templ.c \
cpp_template.c \
cr.c \
cs.c \
el.c \
@@ -312,12 +312,12 @@ TOOL := g++-6
include target.mk
$(OUT.eir.cpp.out): tools/runcpp.sh

ifdef CPP_TEMPL
TARGET := cpp_templ
RUNNER := tools/runcpp_templ.sh
ifdef CPP_TEMPLATE
TARGET := cpp_template
RUNNER := tools/runcpp_template.sh
TOOL := g++
include target.mk
$(OUT.eir.cpp_templ.out): tools/runcpp_templ.sh
$(OUT.eir.cpp_template.out): tools/runcpp_template.sh
endif

ifeq ($(uname),Linux)
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,8 @@ Currently, there are 31 backends:
* Befunge
* Brainfuck
* C
* C++14 (compile-time) (by [@kw-udon](https://github.com/kw-udon/))
* C++14 constexpr (compile-time) (by [@kw-udon](https://github.com/kw-udon/))
* C++ Template Metaprogramming (compile-time) (by [@kw-udon](https://github.com/kw-udon/)) (WIP)
* C# (by [@masaedw](https://github.com/masaedw/))
* C-INTERCAL
* CommonLisp (by [@youz](https://github.com/youz/))
@@ -214,7 +215,7 @@ You can find more descriptions and released vim script in
This backend was contributed by [@hak7a3](https://github.com/hak7a3/). See
also [8cc.tex](https://github.com/hak7a3/8cc.tex).

### C++14 (compile-time)
### C++14 constexpr (compile-time)

This backend was contributed by [@kw-udon](https://github.com/kw-udon/). You can find more
descriptions in
341 changes: 0 additions & 341 deletions target/cpp_templ_lib.hpp

This file was deleted.

Loading