Commit 4d6e2caf authored by Tom Niget's avatar Tom Niget

Initial transpiler PoC. Supports most usual Python structures, and a basic...

Initial transpiler PoC. Supports most usual Python structures, and a basic builtins module is provided.
parent f0ea78f5
---
Language: Cpp
BasedOnStyle: LLVM
IndentWidth: 2
UseTab: Never
---
\ No newline at end of file
Checks: '-google-explicit-constructor -misc-no-recursion'
\ No newline at end of file
.idea
\ No newline at end of file
*
!/**/
!*.*
!Makefile
*.o
\ No newline at end of file
CXX=g++-11 CXX=g++-11
CXXFLAGS=-g -O3 -fwhole-program -flto -Wall -Wextra -Werror -std=c++20 -fcoroutines -I../include CXXFLAGS=-g -O3 -fwhole-program -flto -Wall -Wextra -Werror -std=c++20 -fcoroutines -I../include
LDLIBS=-pthread -luring -lfmt LDLIBS=-pthread -luring -lfmt
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@
%: %.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
cat: cat.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
fork: fork.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
fork_exceptions: fork_exceptions.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
fork_variations: fork_variations.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
future_awaited: future_awaited.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
future_detached: future_detached.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
loop: loop.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
naive_fibonacci_fork: naive_fibonacci_fork.cpp
$(CXX) $(CXXFLAGS) $< -o $@ $(LDLIBS)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment