23 Commits

Author SHA1 Message Date
Jiho Park
5af96beec6
Fix language info name to c to get correct syntax highlighting. (#8) 2024-05-20 20:25:15 +02:00
Xaver K
ca79b349d9
Added support for changing the standard using a magic. (#5) 2022-10-26 18:04:01 +02:00
Xaver K
ddce20b4ca
Fixed crash when magic line is empty. (#4) 2022-10-26 17:29:32 +02:00
Xaver K
66cbe9b2ca Set bufferedOutput=True since that is the usual command line behaviour. Updated README. 2021-02-25 12:50:14 +01:00
Xaver K
449e682b18 Introduced buffered output option to replicate terminal behaviour. 2020-05-11 19:03:22 +02:00
Xaver K
7c39e852ef Fixed delayed stderr output. 2020-05-08 15:53:37 +02:00
Xaver K
8e97b754aa
Support for other standards than c11 (#3)
* Finished C89/C90/C95/C99 support. Version can only be switched in kernel or with magics. Might be worth having separate kernels for each standard.

* Added option to link maths library. On by default.

* Fixed empty input error. Now input loops until there is input with length > 0.
2020-04-17 19:27:16 +02:00
Xaver K
ecbea115c7 Cleanup. 2020-04-03 14:07:04 +02:00
Xaver K
3429b362ba Added input buffer in stdio_wrap.h to mimic command line behaviour. Added wait on output to avoid race condition with program termination. 2020-04-03 13:48:32 +02:00
Xaver K
bddb7ca6b0
Static server (#2)
* Wrap input and file output functions for a read only static server.

* Added -y to docker apt-get in docker file. 

*  wError/wAll as options in Kernel, defaults only to wAll.
2020-03-27 12:27:14 +01:00
Xaver K
ff9d635f89
Stdin using notebook raw_input (#1)
* Added stdin input via the notebook frontend

* Added support for single line code snippets.

* Updated README. 

* Updated Dockerfile. 

* Changed file cleanup to happen right after execution, rather than before kernel shutdown.
2020-03-22 12:52:45 +01:00
Cody Horst
d02720cc84 update master.c path to correspond to where pip install will put it 2017-12-08 20:17:56 -08:00
Ben Spoor
ace4d01ca6 Add args magic to provide cli-args to user program 2017-04-13 08:09:16 +00:00
Ben Spoor
36c1f7f7a8 Added cflags and ldflags magics 2017-04-12 15:32:07 +00:00
Davide Bortolami
15e7288ef4 solve error “traitlets.traitlets.TraitError: FileExtension trait 'file_extension' does not begin with a dot: ‘c’” when exporting to script with nbconvert 2017-02-18 01:56:07 +01:00
Brendan Rius
94ec844396 Make sure to empty the queue so no message should be left over in it 2016-05-16 09:43:47 +01:00
Brendan Rius
1372583b4f Rename Jupytersubprocess and comment it 2016-04-30 23:05:43 +01:00
Louis 'Kureuil' Person
e329f021d6 Fix subprocess bufsize & master compilation 2016-04-30 23:58:52 +02:00
Louis 'Kureuil' Person
843b3814ba Remove stream buffering on stdout & stderr 2016-04-30 23:48:19 +02:00
Brendan Rius
fc27956da4 Remove logging 2016-04-30 22:47:49 +01:00
Brendan Rius
ebe7239f7d wip 2016-04-30 21:45:41 +01:00
Brendan Rius
6d5ea72a74 wip 2016-04-30 21:45:41 +01:00
Brendan Rius
e6061bd9b6 Change package name 2016-04-29 09:58:55 +01:00