Comments (5)
@zrthxn this looks good for now. In the future I plan to approach the size of load/store slightly differently, but for now it's alright.
from porth.
@zrthxn nah, .64
and ,64
are alright. I don't really care much about specific names since they always can be changed later while we are in active development phase and nothing is stabilized yet.
from porth.
So for now I've tested with just 64 bit LOAD and STORE. The operators are rather unimaginative, ,64
and .64
// Test 1000...0001 (64 bit)
mem 1 63 shl
1 + .64
mem ,64 print
// Test UINT64_MAX
mem 18446744073709551615 .64
mem ,64 print
from porth.
@rexim Do you want to use different operators...? Maybe .64
and ,64
aren't the best
from porth.
Okay then #54 is waiting approval :)
from porth.
Related Issues (20)
- Type checking of swap/over/etc.
- Macro naming convension for porth.porth
- Invalid syntax with MEM_CAPACITY = 640_000 HOT 3
- Parity error between numbers in simulation and compilation HOT 1
- [DISC] Take into account PRs with porth code that's unrelated to the main compiler HOT 3
- Do you consider porth to have a packaging and published on pypi? HOT 3
- Discrepancy between com and sim modes for handling utf-8 characters. HOT 2
- Produce less jump points to enable optimization HOT 2
- I translated the `porth sim` to Go.
- Unable to use control flow in macros HOT 3
- run `porthy.py com -r` can be dangerous if the user do not send the correct `file_path`
- `compile_tokens_to_program` there's no need to reverse the tokens HOT 2
- `porth sim` and `porth com -r` diverges in code execution HOT 6
- [FEATURE REQUEST] make std.porth accesible anywhere when you move it to `/usr/include/porth/*.porth` or `/usr/include/*.porth` HOT 1
- Partial Block Macros Not Possible HOT 7
- macros are TOO safe HOT 7
- Discussions HOT 1
- compiling code is not working HOT 4
- typo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porth.