Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Kevin

#1
Hi HendersonS,

Happy to share! We've made our full Claude + PxPlus setup publicly available here:
👉 https://github.com/Astecom/claude-pxplus-template

This repo contains everything we use internally to get consistent results with Claude when working on PxPlus code. It includes:

The entire PxPlus manual, converted into Markdown for better parsing.

A detailed instruction file that explains PxPlus-specific behavior (like FOR/NEXT quirks), coding style preferences, and how Claude should run syntax checks and compilation using the executable.

Note: We've found that the quality of Claude's output depends heavily on having all this context loaded and available together in the workspace. Partial use tends to lead to the kind of mixed results you mentioned.

There's no separate reference program or isolated syntax script, Claude learns from the structure and instructions in context. Once that's in place, it tends to follow our conventions and workflow very effectively.

Also, expect that in the beginning Claude may still make syntax mistakes or miss certain PxPlus-specific details. But one of the powerful aspects of Claude is that you can explicitly tell it to avoid those mistakes in the future, and it will store those instructions for itself during the session. Over time, it gets noticeably better at anticipating issues and generating cleaner code, especially if you keep refining the instruction context to your standards.

Hope that helps, and if you have questions while getting it running, feel free to reach out.
#2
Totally agree on the importance of having a maintained guidelines document. We've done something similar by creating a structured workspace with our coding standards, naming conventions, and some PxPlus-specific notes (like how FOR/NEXT loops always run at least once). Everything is in Markdown and lives alongside the code, so the AI has consistent access to it.

Interestingly, the setup didn't take us that long, but that might be because we already had some experience using AI for development in other languages, especially Python and web-based tools. That helped us approach the prompt structure and environment setup.

We've also moved away from relying on AI to "look up" documentation. Instead, we embed the entire PxPlus manual (converted to Markdown) directly into the workspace. That avoids the classic "I double-checked this" hallucinations, because the model actually has the correct references. This made a huge difference in consistency and correctness.

One key difference for us has been switching from ChatGPT to Claude. In our experience, Claude has proven to be significantly stronger when it comes to programming tasks, not just in code correctness, but also in following patterns, preserving structure, and avoiding hallucinated syntax. It feels much more grounded in logic and context, especially when the reference material is present.

The idea of prototyping in Python and converting to PxPlus could be a good idea. We haven't tried that yet, but it could work well for logic-heavy routines. That said, we've had good results generating PxPlus directly, especially when the AI can reference to a well-written example program.

All in all, we're seeing real time savings now that the setup "complete". What used to take days is now sometimes reduced to hours, or even less.
#3
Hi Mike,

Thanks for sharing your experience, great to hear others are exploring this as well.

We're using Claude through VS Code with the Claude Code extension. To give it proper context, we converted the entire PxPlus manual into Markdown files and added them to the workspace. That way, Claude has direct access to the full documentation while writing or reviewing code, which noticeably improves accuracy.

We also included a reference program in the workspace. Interestingly, Claude automatically tries to match the structure, naming, and logic style it sees in that code, even without explicitly prompting it to do so. That's been a big help in keeping generated output aligned with our internal conventions.

In addition, we wrote a few short instruction files, kind of like "developer notes", to clarify specific PxPlus behaviors that differ from other languages. For example, we explained that FOR/NEXT loops always execute at least once, which is different from how most languages handle them. Claude takes those notes into account when generating logic, which helps avoid subtle errors.

Before we let Claude generate any code, we often ask it to first read and summarize these internal notes, so it's "aware" of the domain-specific things before starting. That small step has made a big difference in the quality and reliability of its output.

We also added instructions for how to perform a syntax check and compile the program using our PxPlus executable. Claude frequently includes those steps itself now, helping catch issues early.

#4
Hi everyone,

At our company, we've been working extensively with AI across different domains, including the generation of web applications and business logic. Lately, we've applied it to PxPlus development, and the time savings have been nothing short of dramatic.

We're not just using AI to suggest snippets. The AI actually:

  • Generates complete PxPlus programs
  • Performs its own syntax checks
  • Fixes code automatically
  • Creates test routines
  • Compiles and validates everything end-to-end
As an example: we had it generate a complex bin packing algorithm with multiple packing strategies, a task that would normally take several weeks of design and coding. With AI, we had a working version within one day, including multiple packing methods.

Even more impressively, the AI also produced an HTML file with a live 3D model of the box and its packed contents, making validation and demonstration far more intuitive.

We're not yet applying it to Nomads or PxPlus-level file I/O, but for logic-heavy tasks and algorithms, the time savings are massive, what used to take days now takes hours, and in some cases, minutes.



We'd love to hear from others in the PxPlus community:

  • Have you tried using AI in your PxPlus development flow?
  • Would you trust AI-generated logic in production?
  • Which tasks would you delegate to AI, and which not?

Looking forward to the discussion!
#5
Hi Phil,

we do offer custom development services using PxPlus. At Astecom, we've been working with PxPlus for many years and provide tailored solutions for clients who need either standalone development or enhancements to existing PxPlus-based applications. So yes, there are still companies actively doing custom work with PxPlus. We're one of them.
#6
Wish List / Re: Nomads+ pointer tool
October 19, 2018, 08:07:27 AM
Would love this feature, could you please look into this?
#7
If I want to get the contents of a column, it would be nice if we could use the column name instead of number.
Like this:

GRID FIND ctl_id, columnName$, row, var$