Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need an Exec module for Oberon 07 programs running under Unix. #11

Open
rsdoiel opened this issue Jul 9, 2022 · 0 comments
Open

I need an Exec module for Oberon 07 programs running under Unix. #11

rsdoiel opened this issue Jul 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@rsdoiel
Copy link
Owner

rsdoiel commented Jul 9, 2022

I would like to port some of my text processing code from Go to Oberon 07. One of them is a preprocessor for Pandoc. It needs to build up data structures, write them out as JSON documents in a tmp file and then run exec using Pandoc to process the final output.

In Go (like Python or even C) this is provided in a module. The go "os/exec" module has a nice interface and is not far from being Oberon-ish. Think about adding an Exec.Mod, ExecTest.Mod to Artemis project source. It could be implemented using C's exec. I will need to pay close attention to handling standard input, error and output.

@rsdoiel rsdoiel added the enhancement New feature or request label Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant