Hi everyone,
I’m currently working with a legacy system built on xHarbour that has been running for about 30 years.
As you can imagine, maintaining and expanding a codebase this old comes with its challenges. Lately, I’ve been trying to leverage Claude to help speed up development and assist with coding, but I’ve hit a major roadblock: the AI really struggles with xHarbour.
Because xHarbour is a niche language today, Claude often confuses its syntax, hallucinates functions, and fails to recognize the specific patterns and architecture of our 30-year-old system.
I would love to know:
- How are you using Claude with xHarbour? Have you found any prompt engineering tricks or specific instructions that actually work?
- Claude Projects / Context: Is anyone using the Projects feature (in the Pro version) or feeding documentation and large chunks of code into Claude to help it grasp the system's patterns?
- Alternative Approaches: Are there specific techniques or setups you recommend to make Claude perform better with the Clipper/xHarbour ecosystem?
Any advice, prompts, or experiences you can share would be incredibly helpful! Thanks in advance.
-----
Fala, pessoal! Beleza?
Estou trabalhando atualmente em um sistema legado desenvolvido em xHarbour que já tem cerca de 30 anos de estrada.
Como vocês devem imaginar, manter e expandir uma base de código desse tamanho e dessa idade traz muitos desafios. Recentemente, tentei usar o Claude para agilizar o desenvolvimento e me ajudar com o código, mas esbarrei em um grande problema: a IA tem muita dificuldade com o xHarbour.
Por ser uma linguagem de nicho hoje em dia, o Claude às vezes mistura a sintaxe, inventa funções que não existem e não consegue reconhecer os padrões e a arquitetura de um sistema de 30 anos.
Queria saber da experiência de vocês:
- Como usam o Claude com xHarbour? Conseguiram criar algum truque de prompt (instruções específicas) que faça ele entender melhor a linguagem?
- Claude Projects / Contexto: Alguém usa os Projects do Claude (na versão Pro) ou alimenta a IA com a documentação e partes do código para ele conseguir pegar os padrões do sistema?
- Ferramentas Alternativas: Recomendam alguma extensão ou técnica que ajude o Claude a lidar melhor com o ecossistema Clipper/xHarbour?
Qualquer dica, relato ou compartilhamento de experiência vai me ajudar muito. Valeu!