GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PExpr/README.md at master · PearCoding/PExpr

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
23 lines (12 loc) · 1.56 KB
/

README.md

Copy path

File metadata and controls

23 lines (12 loc) · 1.56 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

PExpr Build

A fairly simple inline expression optimized to be transpiled to other languages. The intended field of application is computer graphics, hpc and other math frameworks.

Why?

In contrary to many other expressive languages, this one is solely intended to be transpiled to other languages (e.g., GLSL, HLSL, Artic) and allows easy definition of external functions, variables and constants. Therefore, the syntax is simple and limited to a single statement. To support complex programs you may use a node based system (as in Ignis) or your own statement based dsl on top of PExpr.

Does it optimize?

Optimization, except constant unfolding (to some degree), is not applied and kept as an exercise to the language the expression is transpiled to.

Dependencies

PExpr has no other dependencies, except a modern C++17 compiler.

Similar libraries

If you want to embed and directly use PExpr, it is recommended to use SeExpr instead, as it already has many "runners" included, has many standard functions and is already feature proof. On the other hand, PExpr is easier to build and to transpile to other languages than SeExpr.

Keep in mind that this project has no connection to SeExpr, except that it is the reason I started this project. SeExpr is too complex for my other projects (e.g., Ignis) to embed into.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.