12 comments

[ 1.7 ms ] story [ 52.2 ms ] thread
>JavaScript is very good for me, and it is a C like style. But node.js is too heavy.

There are lightweight implementations such as QuickJS.

Yeah, also https://duktape.org/ . Although JS has a lot of warts, I can't think of a project where I would choose a language that's very much like JS but not compatible with it. Some kind of common subset could be a good approach.
This is going to be ''the next big thing'', I'd like to predict.

But one request, please: make 'break' implicit at the end of each case in switch statements, introduce fallthrough (fallthru?) as a keyword instead.

(How many times did you need to NOT use break in switch-case?)

The Makefile of this project starts with

    .POSIX
and then you have an ifeq .. endif block? and then after a few lines:

    %.o: src/%.c
Why?
So it's Perl?
It is like Perl minus $@%*&'s

It is like PHP, but without namespace pollution (like C has)

It is like JavaScript: the good parts

It is like C : as advertised, only in syntax

== End of free advertising, yeah ==

It is like Wren or Squirrel, but not as lightweight. Why the source code tgz'd is more that 100MB?

I feel it is good for me. I am also looking for the language like javascript but nodejs. And I think a good point is that the language is including useful libraries by default.

By the way, the source size seems to be reduced to 24MB.

this is perfect.

I want to implement a new shell, but I don't like shell script.

I'd like something similar to javascript, especially being object oriented. However, I don't like event loop and call backs, that's not suitable for scripting.