|
b926b1a658
|
some cleanup
|
2023-12-10 01:03:32 +09:00 |
|
|
6ba0d3b345
|
simple code cleanup
|
2023-12-09 14:01:03 +09:00 |
|
|
657c14fc93
|
minor typecasting change
|
2023-12-08 18:36:23 +09:00 |
|
|
10189e60ce
|
cleaned up some code
|
2023-12-07 23:01:17 +09:00 |
|
|
af3abee6ca
|
preparing to flatten byte code structure
|
2023-12-06 17:19:57 +09:00 |
|
|
291a999c2a
|
cleaned up code by removing migrating unused functions
|
2023-12-06 11:09:15 +09:00 |
|
|
71abc60ef7
|
updated some notes
|
2023-12-06 02:30:38 +09:00 |
|
|
89b5089564
|
modified the reader to allow redundant semicolons as if blank expressions are specified. redundant semicolons form no expressions.
modified the compiler to emit instructions to return the receiver for methods for classes
|
2023-12-04 22:35:30 +09:00 |
|
|
01fcaba626
|
updated the compiler to compile 'class' without the class name while 'defclass' with the class name
|
2023-12-02 23:21:57 +09:00 |
|
|
0bf3bde497
|
making variable resolution more consisitent. class name resolution part still in progress
|
2023-12-02 12:52:36 +09:00 |
|
|
924d4ad5e2
|
updating the compiler to recognize class-level variables accessors prefixed with self/super in assignment expressions
|
2023-12-02 03:35:59 +09:00 |
|
|
70828ac110
|
updated the reader and the compiler to support self.var inside class definition
|
2023-12-01 21:49:28 +09:00 |
|
|
e6f6d33e51
|
enhanced the feed processor to auto-terminate auto-forged xlist without semicolon if it comes right before the right brace
|
2023-11-29 17:12:21 +09:00 |
|
|
bb4786b6ca
|
some compiler enhancements
|
2023-11-29 15:54:37 +09:00 |
|
|
57629478a1
|
some 'do' experiment
|
2023-11-28 20:47:23 +09:00 |
|
|
9f4bf7485d
|
enhanced the compiler to prohibit variable declaration after 'do' if it's the head of block expression
|
2023-11-28 01:44:13 +09:00 |
|
|
f3c0c1b8c1
|
enhanced the compiler to prohibit variable declaration in class init scope
|
2023-11-27 18:25:27 +09:00 |
|
|
eede341cfa
|
added the WIP hcl-s2.c file
|
2023-11-27 00:13:28 +09:00 |
|
|
e91dde6213
|
added some error check scripts
|
2023-11-27 00:08:59 +09:00 |
|
|
3d47a99cd2
|
added many charcter handling code
|
2023-11-22 00:24:57 +09:00 |
|
hyung-hwan
|
6a861d2db5
|
minor code clean-up
|
2023-11-21 16:30:20 +09:00 |
|
|
3d85965b98
|
fixed a 128bit integer issue with va_arg
|
2023-11-17 16:56:05 +09:00 |
|
|
01c0636206
|
enhanced the block expression checker to allow non-block expression if not followed by another expression
|
2023-11-15 14:35:49 +09:00 |
|
|
84660b6e79
|
simplified the block expression checking in processing defun by calling the common checker function
|
2023-11-15 09:58:02 +09:00 |
|
|
8085fb7725
|
changed class handling to check for the block expression if enabled
|
2023-11-14 17:57:20 +09:00 |
|
|
4f8e7ae76e
|
added the 'fun' symbol as an alias to 'lamba'
|
2023-11-14 12:20:47 +09:00 |
|
|
65937937fb
|
updated the compiler to check the block expression after if/elif/else/while/until more properly
|
2023-11-14 00:31:50 +09:00 |
|
|
b6c1cc8864
|
fixed fun-01.hcl
|
2023-11-13 16:36:35 +09:00 |
|
|
f42508731d
|
added code to check if the body after if-condition or else is a block expression. work in progress
|
2023-11-13 16:11:58 +09:00 |
|
|
1c083885bc
|
added a new test script
|
2023-11-12 23:03:47 +09:00 |
|
|
8cb9178820
|
fixed many more issue in compiling block expressoins
|
2023-11-12 21:54:17 +09:00 |
|
|
268eae3e53
|
updated comment text in read.c
|
2023-11-12 00:31:34 +09:00 |
|
|
41ca7a219d
|
chnaged ; to ## in test programs
|
2023-11-11 17:57:18 +09:00 |
|
|
23610117d6
|
fixing various reader bug in the block mdoe
|
2023-11-10 18:06:49 +09:00 |
|
|
889d5d90ae
|
compiler fix to support the code block expression
|
2023-11-10 02:59:41 +09:00 |
|
|
5a28ab3749
|
working on the block expression compilation
|
2023-11-10 00:03:03 +09:00 |
|
|
9110a083eb
|
some code to handle the auto-forged xlist beginning with no opening parenthesis but ending with a semicolon
|
2023-11-08 19:05:24 +09:00 |
|
|
44fd446274
|
switched to use fgetc() instead of fread() because fread() doesn't stop when a new line is enountered. fgets() is not a good candidate either.
|
2023-11-08 00:11:43 +09:00 |
|
|
d5c47e5a9a
|
in progress implementing the block
|
2023-11-07 21:23:00 +09:00 |
|
|
38e7d85312
|
removed unused variables and corrected flaws in error message conversion functions
|
2023-11-07 20:18:06 +09:00 |
|
|
984c1f62a9
|
added the semicolon as a token and a delimiter
|
2023-11-07 19:47:37 +09:00 |
|
|
d9e658dc4b
|
some more naming changes
|
2023-11-07 19:19:06 +09:00 |
|
|
3953a8e404
|
fixed the file inclusion error in the go wrappers
|
2023-11-05 23:33:22 +09:00 |
|
|
20ddd12c89
|
renamed various names
|
2023-11-05 22:31:33 +09:00 |
|
|
94a44f1fd7
|
separted the IO handlers to the source code handler and user stream handlers
|
2023-11-05 16:58:45 +09:00 |
|
|
bcfe69feda
|
yet another round of internal name changes
|
2023-11-04 23:23:20 +09:00 |
|
|
238365e198
|
another round of internal name changes
|
2023-11-04 23:13:52 +09:00 |
|
|
df924338df
|
internal name changes
|
2023-11-04 22:58:31 +09:00 |
|
|
110cb0b767
|
renamed some variables
|
2023-11-04 13:50:18 +09:00 |
|
|
b913ab5403
|
fixed some build dependency
|
2023-11-03 22:48:03 +09:00 |
|