← ClaudeAtlas

advpl-tlpplisted

TLPP (TOTVS Language Plus Productive, também TL++) — sucessor moderno do ADVPL com OO completa, namespaces (custom.<seg>.<svc>), annotations @Get/@Post/@Test, JSON nativo, try/catch/finally, reflection, identificadores até 250 chars (vs 10 em .prw), modificador default PRIVATE (oposto do ADVPL PUBLIC). Use ao trabalhar com arquivos .tlpp/.th, código moderno, REST tlppCore, ou migração ADVPL→TLPP.
JoniPraia/plugadvpl · ★ 12 · Data & Documents · score 66
Install: claude install-skill JoniPraia/plugadvpl
# advpl-tlpp — TLPP (TOTVS Language Plus Productive) **TLPP** (também chamado **TL++**) é a evolução moderna do ADVPL lançada pela TOTVS para suportar paradigmas atuais: orientação a objetos completa, namespaces, annotations, exceções estruturadas, JSON nativo, reflection. Coexiste com ADVPL no mesmo RPO/tlpp.rpo — código TLPP chama ADVPL e vice-versa. Diferenças críticas vs ADVPL clássico: | Item | ADVPL clássico (.prw) | TLPP (.tlpp) | |------------------------------|------------------------------|----------------------------------------| | Limite de identificador | **10 chars** (legado Clipper)| **250 chars** | | Default de visibilidade | **PUBLIC** | **PRIVATE** | | Sintaxe de classe | `Class` + `Method ... Class` | `class` + `method() class` (com tipagem) | | Namespaces | ❌ | ✅ (`custom.<seg>.<svc>`) | | Annotations | ❌ | ✅ (`@Get`, `@Post`, `@Test`, etc.) | | try/catch/throw | `Begin Sequence`/`Recover` | `try`/`catch`/`finally`/`throw` | | JSON nativo | `JsonObject` via include | nativo | | Reflection | limitada | `FwReflection` | | Header includes | `.ch`