easylang
calculator
easylang | calculator | |
---|---|---|
9 | 2 | |
146 | 0 | |
- | - | |
7.8 | 3.2 | |
25 days ago | over 2 years ago | |
C | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
easylang
- A Browser-based First Programming Language - Easier than Python
-
Show HN: A Browser-Based First Programming Language – Easier Than Python
Hi. I made Easylang to help beginners get started with programming. It is open source.
https://github.com/chkas/easylang
Why I think Easylang is for beginners better than Python.
https://easylang.online/blog/easyl_pyth.html
- An interactive tutorial on symmetric encryption
-
Show HN: A somewhat old-fashioned programming language
A somewhat old-fashioned programming language
easylang is a rather minimalistic simple programming language. Because of the clear syntax and semantics it is well suited as a teaching and learning language. Functions for graphic output and mouse input are built into the language.
The language is written in C and is open source. Main target platform is the web browser using WASM. However, it also runs natively in Windows and Linux.
The one-pass parser and compiler is quite fast. In the Web IDE, each time the Enter key is pressed, the program is parsed and formatted up to the current line.
The AST interpreter is fast, much faster than CPython for example.
The language is statically typed and has as data types numbers (floating point) and strings and resizeable arrays. Variables are not declared, the type results from the name (number, string$, array[]).
Uses: Learning language, canvas web applications, algorithms.
For example, I solved the AdventOfCode tasks with easylang.
https://easylang.online/
https://easylang.online/ide/
https://rosettacode.org/wiki/Category:EasyLang
https://easylang.online/aoc/
https://github.com/chkas/easylang
- A somewhat old-fashioned programming language
-
[All years, all days][easylang] - 350⭐
easylang on github
- Easylang – An easy online programming language and development environment
- Ask HN: What are your opinions on modern BASIC dialects?
calculator
-
Ask HN: What are your opinions on modern BASIC dialects?
I've been playing with classic BASICs recently, especially dialects for pocket calculators. Here are some random thoughts from this exercise:
"PRINT USING" is terrible (vs. C's formatted strings).
"INPUT A" is not versatile enough. I should be able to prompt with the current value of A, so user can hit enter to keep the current value. None allow you to print the current value of A (INPUT STR$(A)+">",A does not work anywhere). Some dialects allow you to retain A: TRS-80 BASICs do it. MS-BASIC sets A to zero if user just hits Enter.
Pocket computer BASIC allows you to enter an expression as a response to INPUT, such as A+1.
Modern calculators allow you to enter equations in textbook format. I kind of think modern BASICs should support this- no reason to be stuck in the early 60s teletype world.
Pocket computer BASIC allows you to bind programs to keys (or at least entry points to keys: you can have a key jump to a line with a key-label).
Pocket computer BASIC allows you to read the last entered value (AREAD command in Sharp).
Here is a benchmark which shows why these things can be important, at least in the realm of pocket computers and calculators:
https://github.com/jhallen/calculator/wiki
- Calculator User Interface Benchmark
What are some alternatives?
Dark-Basic-Pro - Dark Basic Pro is an open source BASIC programming language for creating Windows applications and games
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
learnyounode - Learn You The Node.js For Much Win! An intro to Node.js via a set of self-guided workshops.
freeCodeCamp - freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala