inyokaproject / inyokaedit

A markup editor for Inyoka articles.
GNU General Public License v3.0
7 stars 6 forks source link

Embedding Inyoka python code in InyokaEdit #93

Closed ElTh0r0 closed 7 years ago

ElTh0r0 commented 7 years ago

By using Python/C++ API it might be possible to use the original Inyoka source (parser / template language) in InyokaEdit.

API Reference: http://docs.python.org/c-api/ Example {de}: http://python.haas.homelinux.net/python_kapitel_26_003.htm#mjc6b49d1c4e0ceb18304013caf898a2e0

encbladexp commented 7 years ago

In a perfect world, somebody would write a new parser in Rust. The Parser is atm the slowest part of Inyoka, and depends on some parts on an existing database and Jinja.

ElTh0r0 commented 7 years ago

Following encbladexp's comment, Inyoka code cannot be embedded for parsing the template language --> won't be implemented. Only solution is #17