Inline::CPR 0.12
Inline::CPR is C Perl Run
|
|||||||||||||||||||
Inline::CPR is C Perl Run. Embed Perl in C, ala Inline
SYNOPSIS
#!/usr/local/bin/cpr
int main(void) {
printf("Hello World, I'm running under Perl version %sn",
CPR_eval("use Config; $Config{version}")
);
return 0;
}
Is it C? Is it Perl? It's neither, it's both. It's CPR!
CPR (C Perl Run) is a "new language" that looks like C. You don't need to compile it. You just run it, much like Perl. As an added bonus, you'll get access to the full internals of Perl via the CPR API.
The idea is that you just put a CPR hashbang at the top of your C program and run it like a script. The CPR interpreter will run your C code under Perl.
If your 'hash' doesn't 'bang', you can run your program like this:
cpr synopsis.cpr
Requirements:
tags
Download Inline::CPR 0.12
Authors software
|
|
|
|
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
