DEV Community

loading...
Cover image for Writing code in C? Simplify your life with sim-C
CimpleC

Writing code in C? Simplify your life with sim-C

aayush99 profile image Aayush Agarwal ・2 min read

If you are working with C or have ever worked with C, then you know how frustrating it can get writing those long and (sometimes) complicated syntaxes, and how time-consuming it can get to debug a code just because of something as simple as a misplaced semicolon. While we wholeheartedly believe that C is one of the most powerful and impactful languages ever created, it sometimes can be tough for non-programmers. In this article, we will tell you about sim-C, a tool that aims to help you simplify your life.

sim-C?

In simple terms, sim-C is a tool that adds a layer of abstraction over the syntax of C, i.e it offers its users to write code in its own syntax and then converts that simple code into C code.

We know some of you will be concerned about your code slowing down as a result of using sim-C, but we assure you that the runtime of your code will not be affected due to it. This is because sim-C’s job is to convert code written in it’s high-level syntax to the syntax of C, hence only affecting the compilation time.

What do I need to know to use sim-C?

If you can write a = b + c in any programming language, you probably have more than sufficient knowledge to get started with sim-C. Since sim-C’s ultimate goal is to convert its simple concise code to C code, we recommend that you have a basic knowledge of the C language, but as we mentioned earlier, it is not a necessity by any means.

What does sim-C have to offer?

sim-C offers a very concise and simple syntax to the users. With sim-C you will surely be able to bring down your time of development. But perhaps the salient feature of sim-C is the ability to infer the datatypes of variables, that means you don’t have to worry about declaring integers/floats/doubles/chars etc, you can simply type ‘var name’ leaving the rest to sim-C.

sim-C is still in development phase (we released v0.1 alpha recently) and we are still adding new features regularly, so even if it is not for you right now, do keep an eye on it.

Final Words

While sim-C is far from being complete, we would really appreciate it if you were to check it out. Do let us know if you have any suggestions for us. Looking forward to hearing back from you.

Do check out our next post, Getting started with sim-C, to know how to install sim-C and run it.

sim-C is still in continuous development and some amazing changes are on the way!! Do check out the Github repo and star it to be in touch with the updates taking place.

Discussion

pic
Editor guide
Collapse
ravi688 profile image