retrage/gpt-macro

ChatGPT powered Rust proc macro that generates code at compile-time.

Rustrusttestchatgpt
This is stars and forks stats for /retrage/gpt-macro repository. As of 29 Apr, 2024 this repository has 483 stars and 10 forks.

gpt-macro ChatGPT powered Rust proc macro that generates code at compile-time. Implemented Macros auto_impl!{} #[auto_test(...)] Usage Get ChatGPT API key and set it to your environment variable OPENAI_API_KEY before run. auto_impl!{} Syntax: auto_impl! { $STR_LIT $TOKEN_STREAM } where $STR_LIT is a prompt string literal, and $TOKEN_STREAM is target code. Example: use gpt_macro::auto_impl; auto_impl! { "Return fizz if the number is divisible by 3, buzz if the number is divisible by 5,...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
orhun/halpRustShellDockerfile6200110
farm-fe/farmRustTypeScriptJavaScript9920650
ztjhz/FreeChatGPTTypeScriptCSSJavaScript6.1k+532.1k+26
mayooear/langchain-supabase-website-chatbotTypeScriptCSSPLpgSQL58601750
joshuachp/dockrsRustNixShell0000
madawei2699/myGPTReaderPythonJavaScriptCSS4.2k04410
appleboy/CodeGPTGoD2Makefile749+2640
Grt1228/chatgpt-steam-outputHTMLJava37001530
flashvayne/chatgpt-spring-boot-starterJava203+255+1
krisnova/qRustOther88050