{"push_id":1479234023,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"406a0545a94f43e880e883da3673f705467ecab3","before":"452fad6a218f534f3c3fbbef65410d12a4e1c9dc","commits":[{"sha":"0868989592470c064bae35eea78a6d23669d1995","author":{"name":"Helmut Eller","email":"c052c0acbf4b994f4c41f848f6ec01ce9dc3e639@gmail.com"},"message":"Implement SAVE-INPUT and RESTORE-INPUT\n\nThere used to be primitive tokens ID_SAVE_INPUT and ID_RESTORE_INPUT\nbut those weren't used.  Saving/restoring positions in files is\nsomewhat involved so I decided to it in Forth.  To support this, I\nre-purposed the codes of ID_SAVE_INPUT and ID_RESTORE_INPUT to\nsave/store the current line number (ID_SOURCE_LINE_NUMBER_FETCH, and\nID_SOURCE_LINE_NUMBER_STORE).  Those can also be used for something\nlike C's __LINE__ macro.\n\n* fth/save-input.fth: New file.\n* fth/loadp4th.fth: Load it.\n* fth/system.fth (D=): New. Needed to compare file positions.\n* fth/t_corex.fth: Add simple tests.\n\n* csrc/pf_guts.h (ID_SOURCE_LINE_NUMBER_FETCH,\nID_SOURCE_LINE_NUMBER_STORE): Renamed from ID_SAVE_INPUT and\nID_RESTORE_INPUT.\n\n* csrc/pf_inner.c (ID_SOURCE_LINE_NUMBER_FETCH,\nID_SOURCE_LINE_NUMBER_STORE): Implement.\n(ID_SAVE_INPUT): Deleted. It's now in Forth.\n\n* csrc/pfcompil.c (pfBuildDictionary): Define SOURCE-LINE-NUMBER@ and\n SOURCE-LINE-NUMBER!.","distinct":true,"url":"https://api.github.com/repos/philburk/pforth/commits/0868989592470c064bae35eea78a6d23669d1995"},{"sha":"09d08b416a8385ad4e8395044d717809e18bafa7","author":{"name":"Helmut Eller","email":"c052c0acbf4b994f4c41f848f6ec01ce9dc3e639@gmail.com"},"message":"Use 4 spaces for indentation.\n\n* fth/save-input.fth (restore-column): Use ELSE instead of EXIT THEN.","distinct":true,"url":"https://api.github.com/repos/philburk/pforth/commits/09d08b416a8385ad4e8395044d717809e18bafa7"},{"sha":"406a0545a94f43e880e883da3673f705467ecab3","author":{"name":"Phil Burk","email":"18ebeaa8807baea53f338555c6e48ca6d47cd46d@mobileer.com"},"message":"Merge pull request #25 from ellerh/implement-save-input\n\nImplement SAVE-INPUT and RESTORE-INPUT","distinct":true,"url":"https://api.github.com/repos/philburk/pforth/commits/406a0545a94f43e880e883da3673f705467ecab3"}]}
{"actor":{"display_login":"philburk"}}