Skip to content

tezevsk-dev/CPluPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CPluPy

Python keywords in your C/C++ Alert! But why? (Working, but some kind of joke)

Q&A

Q:is it working? A:of course! compile well Q:should i use it? A:rather not ... other's latter

Possibilieties

Main:

#include <cplupy.h>

No need it I/O system?

#define NO_IO
#include <cplupy.h>

No need in Python like types?

#define NO_TYPENAME
#include <cplupy.h>

Diferences:

alright, what it can do?

Types

py_str py_dict (raw) py_list (also raw) str() (broken)

Operators

is not elif

I/O system

print() println() input()

Examples

#include <cplupy.h>
#include <string>

int main() {
  println("Hello", "W"); // newline
  py_str a = input();
  print(a); // no newline
}

About

Python keywords in you C/C++ Alert! But why? (Working, but some kind of joke)

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages