https://github.com/temperlang/temper-c-abi
Explore options for C bindings to Temper-built libraries
https://github.com/temperlang/temper-c-abi
Last synced: 4 months ago
JSON representation
Explore options for C bindings to Temper-built libraries
- Host: GitHub
- URL: https://github.com/temperlang/temper-c-abi
- Owner: temperlang
- Created: 2025-02-18T20:35:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-17T13:03:18.000Z (about 1 year ago)
- Last Synced: 2025-10-09T07:55:03.788Z (8 months ago)
- Size: 34.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Some example steps:
```
PS C:\Users\work2\Documents\projects\temper-c-abi\examples\hello\target\debug> cargo build
... lots of warnings ...
PS C:\Users\work2\Documents\projects\temper-c-abi\examples\hello\target\debug> python ..\..\examples\greet.py
Hello, world!
PS C:\Users\work2\Documents\projects\temper-c-abi\examples\hello\target\debug> cl ..\..\examples\greet.c hello.dll.lib /link
Microsoft (R) C/C++ Optimizing Compiler Version 19.42.34438 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
greet.c
Microsoft (R) Incremental Linker Version 14.42.34438.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:greet.exe
greet.obj
hello.dll.lib
PS C:\Users\work2\Documents\projects\temper-c-abi\examples\hello\target\debug> .\greet.exe
Hello, world!
PS C:\Users\work2\Documents\projects\temper-c-abi\examples\hello\target\debug>
```