Skip to main content

One post tagged with "AI"

View All Tags

Context for AI-Assisted Coding

· 7 min read
Edward A. Lee
Professor at UC Berkeley

When you use an AI assistant to write Lingua Franca code—whether Cursor, GitHub Copilot, Claude, or another—the AI relies on context: the files, examples, and documentation it can "see" to guide its responses. Without the right context, AIs often mix C and Python syntax, suggest patterns from the wrong target, or miss LF-specific idioms. The Lingua Franca project has introduced two template repositories, curated-c and curated-py, designed specifically to provide high-quality, target-specific context for AIs. This post explains why context matters, how different AI systems use it, and how to use these templates effectively.