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 — GitHub - PearCoding/PExpr: A fairly simple inline expression optimized to be transpiled to other languages.

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
cmake
cmake
 
 
src
src
 
 
test
test
 
 
tools
tools
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
Doxyfile.in
Doxyfile.in
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 

Repository files navigation

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.

About

A fairly simple inline expression optimized to be transpiled to other languages.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — 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.