goplus / goplus/llcppg

generate libclang's llgo binding with empty.

Open
#565 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

to be confirm
Dominant language
Go
Stars
33
Forks
11
Avg merge
1h 17m
Merged PRs (30d)
51

Description

{
	"name": "clang",
	"cflags": "-I/opt/homebrew/Cellar/llvm@19/19.1.7/include  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS",
	"libs": "-L/opt/homebrew/Cellar/llvm@19/19.1.7/lib -lclang",
	"include": [
		"clang-c/Index.h",
		"clang-c/BuildSystem.h",
		"clang-c/CXDiagnostic.h",
		"clang-c/CXErrorCode.h",
		"clang-c/CXFile.h",
		"clang-c/CXSourceLocation.h",
		"clang-c/CXString.h",
		"clang-c/ExternC.h",
		"clang-c/Platform.h",
	],
	"cplusplus": true,
	"headerOnly": true
}

the index.go only have follow macro define

package clang

import _ "unsafe"

const CINDEX_VERSION_MAJOR = 0
const CINDEX_VERSION_MINOR = 64

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing generation with the supplied libclang configuration and included clang-c headers, then inspect why index.go contains only the CINDEX_VERSION macros. Compare the generated output with the requested libclang binding and treat a non-empty, usable index.go as done.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, go
Domain
compilers, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.