* [ANN] updates to sc and sescript
@ 2018-06-16 11:12 tantalum
2018-06-19 6:44 ` jeremy
0 siblings, 1 reply; 2+ messages in thread
From: tantalum @ 2018-06-16 11:12 UTC (permalink / raw)
To: guile-user
i use scheme-like syntax to write c and javascript, and i do this with
two transpilers that ive recently revised.
you might have looked at sc and sescript in the past, but what ive
changed now is that i removed features that dont map directly to a
single c syntax form and straightened things out to really make the
output as if originally written in the target language (albeit
unformatted).
links:
* https://github.com/sph-mn/sph-sc
* https://github.com/sph-mn/sescript
sometimes i wondered if the number of round brackets is a bit much for
the imperative style of c and javascript and if a coffeescript-style
indent-based syntax would be better suited. but the simplicity,
structural editing and reading speed im used to with scheme make up for
it.
an interesting thing ive found is that i need about 50 test cases to
test ecmascript and its edge cases and 140 to test c - that says
something about the complexity of these languages.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ANN] updates to sc and sescript
2018-06-16 11:12 [ANN] updates to sc and sescript tantalum
@ 2018-06-19 6:44 ` jeremy
0 siblings, 0 replies; 2+ messages in thread
From: jeremy @ 2018-06-19 6:44 UTC (permalink / raw)
To: sph; +Cc: guile-user, guile-user
On 2018-06-16 13:12, tantalum wrote:
> i use scheme-like syntax to write c and javascript, and i do this with
> two transpilers that ive recently revised.
> you might have looked at sc and sescript in the past, but what ive
> changed now is that i removed features that dont map directly to a
> single c syntax form and straightened things out to really make the
> output as if originally written in the target language (albeit
> unformatted).
>
> links:
> * https://github.com/sph-mn/sph-sc
> * https://github.com/sph-mn/sescript
>
> sometimes i wondered if the number of round brackets is a bit much for
> the imperative style of c and javascript and if a coffeescript-style
> indent-based syntax would be better suited. but the simplicity,
> structural editing and reading speed im used to with scheme make up
> for it.
> an interesting thing ive found is that i need about 50 test cases to
> test ecmascript and its edge cases and 140 to test c - that says
> something about the complexity of these languages.
Sounds fun ! I've to try that :)
Thank you for your work !
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-19 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-16 11:12 [ANN] updates to sc and sescript tantalum
2018-06-19 6:44 ` jeremy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).