98 Commits

Author SHA1 Message Date
marjohnsen
e88cb5f36b
Add void to empty parameter list (#9) 2025-01-12 14:04:56 +01:00
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
4f8d436439 Fixed scanf for C89. Small improvements for newer standards. 2020-05-12 12:28:40 +02:00
Xaver K
dddbfe9e85 Ditched C89 support for number of chars read by scanf. 2020-05-11 19:53:02 +02: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
f8e99ec24c Fixed combined getchar and scanf input to mimic command line. 2020-04-09 13:23:56 +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
8b69d8354d Added stdio_wrap.h to MANIFEST to have it copied during install. 2020-03-27 11:26:35 +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
Brendan Rius
c9a327f77c
Merge pull request #46 from QuLogic/sdist-info
Add some metdata into sdist
2018-06-03 22:21:48 +02:00
Brendan Rius
4233523364
Merge branch 'master' into sdist-info 2018-06-03 22:21:38 +02:00
Brendan Rius
2c2ce0126f
Merge pull request #49 from ntwuxc/patch-1
Update setup.py
2018-06-03 22:19:37 +02:00
mycode
749be19e4d
Update setup.py 2018-06-03 08:13:32 +08:00
Elliott Sales de Andrade
eb6aacf4ce Add license classifier for PyPI. 2018-03-15 02:21:13 -04:00
Elliott Sales de Andrade
1b93007021 Include readme and license in sdist. 2018-03-15 02:14:35 -04:00
Brendan Rius
ca942437f6
Merge pull request #40 from halfhorst/master
add resources/ as package data
1.2.2
2018-01-24 11:01:54 +01:00
Cody Horst
60cbeb8021 no editable pip installation 2018-01-23 23:04:53 -08:00
Cody Horst
d29d9e8167 alter package structure, moving resources under parent module. 2018-01-23 22:34:24 -08: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
Cody Horst
f0fbd41b96 add resources as package data. Probably bork current Dockerfile 2017-12-08 19:34:26 -08:00
Brendan Rius
c0d71813a5 Bump to 1.2.1 2017-08-13 17:03:43 +02:00
Brendan Rius
1b7f9d4dd6 Update README.md 2017-08-13 16:25:27 +02:00
Brendan Rius
c7a966954c Merge branch 'master' of github.com:brendan-rius/jupyter-c-kernel 2017-08-13 16:04:05 +02:00
Brendan Rius
a360b41cb6 Fix install script to use name 'c' 2017-08-13 15:56:03 +02:00
Brendan Rius
3839e6f87b Update README.md
Remove useless VCR contributing rules
2017-08-11 00:23:21 +02:00
Brendan Rius
e65c6b1a79 Merge pull request #32 from jb08/patch-1
Update README typo and clarification
2017-08-10 22:53:11 +02:00
Jason B
2ffb724f39 Update README typo and clarification
fixes typo, and provides example for "URL containing the token".
2017-08-10 14:00:51 -05:00
Brendan Rius
a90e1318c6 Updated README 2017-08-10 17:29:41 +02:00
Brendan Rius
3f584f7a22 Updated README 2017-08-10 17:22:37 +02:00
Brendan Rius
cba22be395 Fix docker build 2017-08-10 17:13:34 +02:00
Brendan Rius
9ec152dda1 Remove easy install script as installation method changed 2017-08-10 17:05:45 +02:00
Brendan Rius
28604bc230 Bump to 1.2.0 1.2.0 2017-08-10 17:01:40 +02:00
Brendan Rius
c08039f6ad Change install procedure 2017-08-10 17:00:32 +02:00
Brendan Rius
45616068bc Bump to 1.1.0 1.1.0 2017-08-08 02:00:58 +02:00
Brendan Rius
09246c16e8 Merge pull request #21 from ericjperry/master
Update install.sh to support using a different tag and repo
2017-06-09 16:32:31 +02:00
Brendan Rius
628b7767da Merge pull request #27 from spoorcc/issue-14
Fix #14: Add args magic to provide cli-args to user program
2017-04-13 11:29:48 +02:00
Ben Spoor
ace4d01ca6 Add args magic to provide cli-args to user program 2017-04-13 08:09:16 +00:00
Brendan Rius
17316fb7b2 Merge pull request #26 from spoorcc/issue-10
Fix #10: Added magics to provide LDFLAGS and CFLAGS to gcc
2017-04-12 20:59:16 +02:00
Ben Spoor
36c1f7f7a8 Added cflags and ldflags magics 2017-04-12 15:32:07 +00:00
Brendan Rius
608c737360 Merge pull request #22 from fermiumlabs/issue-c_extension
Correct c extension
2017-02-18 12:15:29 +01: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
Eric Perry
b980bf36c2 Move cd before checkout since we need to be in the repo. 2017-01-18 11:27:00 -05:00
Eric Perry
31a4ca502a Parameterized install.sh script to allow specification of tag and repository. 2017-01-18 11:18:51 -05:00