<feed xmlns='http://www.w3.org/2005/Atom'>
<title>parscan/vm, branch parscan-struct</title>
<subtitle>experimental interpreter
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/'/>
<entry>
<title>fix: improve struct</title>
<updated>2025-03-03T09:49:27+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2025-03-03T09:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=ab69cd9ba61092650abdff6484b12021182385ce'/>
<id>ab69cd9ba61092650abdff6484b12021182385ce</id>
<content type='text'>
Use 'unsafe' to modify private struct fields, allowing to keep
unmodified field names: before they were prefixed with a capital.

Parse package statement. Provide a also a default package name for
REPL and tests. The support of packages is still incomplete.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use 'unsafe' to modify private struct fields, allowing to keep
unmodified field names: before they were prefixed with a capital.

Parse package statement. Provide a also a default package name for
REPL and tests. The support of packages is still incomplete.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix (parser): don't panic if assign of define untyped value (#10)</title>
<updated>2024-07-18T10:56:29+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-07-18T10:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=dabd9e5eb81bbc9aeaeb32fb3e3ce83eef258a77'/>
<id>dabd9e5eb81bbc9aeaeb32fb3e3ce83eef258a77</id>
<content type='text'>
* fix (parser): don't panic if assign of define untyped value

In case of defining or assigning to untyped value, the type has
to be taken from the source value instead of the target value.

The vm test coverage has also been slightly improved.

* fix and simplify Token.Name()

* improve parser errors</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix (parser): don't panic if assign of define untyped value

In case of defining or assigning to untyped value, the type has
to be taken from the source value instead of the target value.

The vm test coverage has also been slightly improved.

* fix and simplify Token.Name()

* improve parser errors</pre>
</div>
</content>
</entry>
<entry>
<title>feat: initial and partial support of composite expressions (#9)</title>
<updated>2024-04-23T12:36:57+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-04-23T12:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=0063922f5c8a07b78603b2da7f6a3c2094711c3d'/>
<id>0063922f5c8a07b78603b2da7f6a3c2094711c3d</id>
<content type='text'>
A new `Composite` token is created. Literal composite expressions
are recognized and partially handled by the parser but not yet
by the code generator.

Other cosmetic changes are present.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A new `Composite` token is created. Literal composite expressions
are recognized and partially handled by the parser but not yet
by the code generator.

Other cosmetic changes are present.</pre>
</div>
</content>
</entry>
<entry>
<title>chore: add linters and some lint fixes (#8)</title>
<updated>2024-04-02T09:27:13+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-04-02T09:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=1bff92c52b27b9a516599e172fe9852c3d99be38'/>
<id>1bff92c52b27b9a516599e172fe9852c3d99be38</id>
<content type='text'>
* chore: add linters and some lint fixes

Configure some golangci-lint linters to get the code quality right.
Apply the first fixes.

Next step will be to add github actions to run lint and tests in
github CI.

* chore: more lint, fixed comments and variable names. no semantic change.

* chore: add Makefile

This makefile is intended to be used as a local substitute to github
actions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* chore: add linters and some lint fixes

Configure some golangci-lint linters to get the code quality right.
Apply the first fixes.

Next step will be to add github actions to run lint and tests in
github CI.

* chore: more lint, fixed comments and variable names. no semantic change.

* chore: add Makefile

This makefile is intended to be used as a local substitute to github
actions.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'main' of github.com:mvertes/parscan</title>
<updated>2024-03-14T13:39:08+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-03-14T13:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=ef1499e057051e5845069d04cc12f20f42d8258f'/>
<id>ef1499e057051e5845069d04cc12f20f42d8258f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: initial support of closures</title>
<updated>2024-03-14T13:37:32+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-03-14T13:37:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=378683d25bdae89fa446b2b82f8dda5d6b34ea33'/>
<id>378683d25bdae89fa446b2b82f8dda5d6b34ea33</id>
<content type='text'>
Also detection and automatic execution of main function.
Make sure that all debug is output to stderr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also detection and automatic execution of main function.
Make sure that all debug is output to stderr.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5 from ajnavarro/fix/small-fixes</title>
<updated>2024-03-13T15:05:35+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-03-13T15:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=cd75db8c69365ac5c8e967f9a941b9fb128b0b00'/>
<id>cd75db8c69365ac5c8e967f9a941b9fb128b0b00</id>
<content type='text'>
Fix: small README fixes and throw an error if expression not supported.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix: small README fixes and throw an error if expression not supported.</pre>
</div>
</content>
</entry>
<entry>
<title>Update vm/README.md</title>
<updated>2024-03-13T14:56:08+00:00</updated>
<author>
<name>Antonio Navarro Perez</name>
<email>antnavper@gmail.com</email>
</author>
<published>2024-03-13T14:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=a7f99d19978e5bf337be3e778f5376f346f69c4a'/>
<id>a7f99d19978e5bf337be3e778f5376f346f69c4a</id>
<content type='text'>
Co-authored-by: Marc Vertes &lt;mvertes@free.fr&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Marc Vertes &lt;mvertes@free.fr&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: small README fixes and throw an error if expression not supported.</title>
<updated>2024-03-12T14:23:18+00:00</updated>
<author>
<name>Antonio Navarro Perez</name>
<email>antnavper@gmail.com</email>
</author>
<published>2024-03-12T14:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=ee283aba92757f3661e6bb1cc746e8bb5efff884'/>
<id>ee283aba92757f3661e6bb1cc746e8bb5efff884</id>
<content type='text'>
Signed-off-by: Antonio Navarro Perez &lt;antnavper@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Antonio Navarro Perez &lt;antnavper@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add type representation in vm package</title>
<updated>2024-03-08T18:29:34+00:00</updated>
<author>
<name>Marc Vertes</name>
<email>mvertes@free.fr</email>
</author>
<published>2024-03-08T18:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vertes.org/parscan/commit/?id=8c4fa9d85cd274439dbd7d0a5c699fe1cea557dc'/>
<id>8c4fa9d85cd274439dbd7d0a5c699fe1cea557dc</id>
<content type='text'>
Type and Value types in vm package are now used in place of reflect.Type
and reflect.Value. It allows to remove the dependency on reflect for
parser and compiler packages.

The main purpose of Type is to provide a solution to implement recursive
structs, named types, interfaces and methods, despite the limitations of
Go reflect. The goal is to provide the thinnest layer around reflect.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Type and Value types in vm package are now used in place of reflect.Type
and reflect.Value. It allows to remove the dependency on reflect for
parser and compiler packages.

The main purpose of Type is to provide a solution to implement recursive
structs, named types, interfaces and methods, despite the limitations of
Go reflect. The goal is to provide the thinnest layer around reflect.
</pre>
</div>
</content>
</entry>
</feed>
