Commit Graph

42 Commits

Author SHA1 Message Date
Timothy Warren
b642ff5c59 Readability refactoring
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2021-03-04 12:03:51 -05:00
6df5bda8f2 Attempt to fix CI tests
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 20:23:12 -05:00
Timothy Warren
02259f61a7 Simplify code with match statements
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 16:35:58 -05:00
9280b77d1e Highlight more token types
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
2021-03-03 13:14:44 -05:00
Timothy Warren
7cd7d1baa5 Create php8 fork
All checks were successful
timw4mail/php-kilo/pipeline/head This commit looks good
2020-12-04 11:18:21 -05:00
6f870aa922 Refactor and simplify 2020-02-05 14:50:31 -05:00
Timothy Warren
24baca3cb8 Improve terminal size checking
Some checks failed
timw4mail/php-kilo/master There was a failure building this commit
2020-01-23 13:41:35 -05:00
8c159dd5bc Attempt to verify tput exists before using it
All checks were successful
Gitea - Tutorials/php-kilo/master This commit looks good
2019-12-05 11:00:03 -05:00
Timothy Warren
c3bdc6f67b Clean functions, fix sizing on mac
Some checks failed
Gitea - Tutorials/php-kilo/master There was a failure building this commit
2019-12-02 16:27:22 -05:00
99c5ac9697 Test coverage 2019-11-19 13:48:12 -05:00
8951894493 More PHP token refactoring 2019-11-14 17:11:10 -05:00
519a193a8d Refactor PHP token function into class, more tests 2019-11-14 12:14:02 -05:00
de0b6bda43 First unit test 2019-11-14 11:12:32 -05:00
99799e1d5a Slight tweak of php token handling 2019-11-13 16:26:19 -05:00
9c23194feb little rawmode cleanup 2019-11-08 21:48:46 -05:00
5787fe3822 Go full PHP with composer and phpunit 2019-11-08 16:27:08 -05:00
8baca1d293 Improve token mapping, fix multi-line PHP comments 2019-11-08 13:28:24 -05:00
252eddc093 Another ugly progress commit 2019-11-08 12:02:00 -05:00
bb10b69e12 Make ANSI escape colors into constants 2019-11-06 16:11:38 -05:00
0877bcd6dd Some progress on multi-line comments in PHP 2019-11-05 16:56:18 -05:00
3d2bc7ef48 Partially fix inserting new lines in the PHP version 2019-10-31 19:05:39 -04:00
d617c1c009 More progress on PHP syntax highlighting 2019-10-30 16:36:17 -04:00
d115985833 Make sure to keep all the tokens, rework php highlighting into lookup arrays 2019-10-30 14:21:10 -04:00
346ef67a08 Work in progress on PHP highlighting using token_get_all 2019-10-29 17:02:03 -04:00
ca9ec17d49 Complete tutorial 2019-10-25 16:36:03 -04:00
4df0644bc2 Refactor array_replace_range and syntax_to_color 2019-10-25 15:35:20 -04:00
2bc98b0308 Keyword highlighting, completing step 174 2019-10-25 14:49:34 -04:00
cf0436dc7d Highlight single-line comments, finish step 171 2019-10-25 12:08:21 -04:00
3dc3fc01aa Highlight strings, complete step 168 2019-10-25 11:49:04 -04:00
cb8eb05249 Split classes and setup autoloading 2019-10-24 16:57:27 -04:00
88afc3909e Improve number highlighting, finish step 156 2019-10-24 16:22:52 -04:00
78a91514b3 Refactor C constants to be class constants of the C class 2019-10-24 12:00:14 -04:00
29026373b8 Make functions all snake case, move ffi to only functions.php 2019-10-24 10:58:38 -04:00
bb1ee20964 Remove unused ffi prototypes, make php equivalent functions 2019-10-23 13:34:40 -04:00
6d0074ffd3 Fix Ctrl-S handling 2019-10-22 17:50:35 -04:00
Timothy Warren
98a3b8b691 Complete chapter 5 2019-10-22 16:16:28 -04:00
e9cdc17322 Fix issues with rendering and input handling 2019-10-21 15:37:20 -04:00
5ced2d1f09 Misc bugfixes 2019-10-18 16:20:34 -04:00
5e6e6e7c7d Complete chapter 3 2019-10-14 16:21:41 -04:00
e0a9d066ca Up to step 21 2019-10-11 16:32:47 -04:00
08cf93b9c7 Get raw mode sorted out 2019-10-10 15:49:01 -04:00
8522d9fb33 First commit, about step 8 in tutorial 2019-10-10 12:28:46 -04:00