Comments (4)
Also when I used http://siffiejoe.github.io/lua-amalg/ to bundle it in a single file it throws this error:
=> main λ (~/tmp/purescript/ps-to-lua-test/ceres) = ceres build -- --map WorldEditTestMap.w3x
> Received build command
> Input: WorldEditTestMap.w3x
> Retain map script: true
> Output type: mpq
> Loaded map WorldEditTestMap.w3x
> WARN: Could not extract script from map WorldEditTestMap.w3x: File not found
> WARN: Map script won't be included in the final artifact
> Building without including original map script
> ERR: Map build failed:
> Could not compile module [main] ("src/main.lua"):
Could not parse file:
--> 3366:11
|
3366 | local local_UTC_offset_sec = difftime(time(date("!*t", now)), time(date("*t", now)))␊
| ^---
|
= expected Ident
from ceres.
I'm not really sure whether pure Lua even supports cyclic dependencies (maybe when the module doesn't return any result it is ok?), but in general there is no nice way of solving circular dependencies in a language like Lua.
The second issue seems to be down to a parser error. I'll look into fixing it.
from ceres.
Well, Lua's interpreter is able to run my code from CLI
from ceres.
If that's the case, then I might lift the restriction on cyclic dependencies. I'll look into it.
from ceres.
Related Issues (20)
- Require accepts wrong syntax
- -
- Provide better quick start guide HOT 2
- Object data API HOT 1
- Implement basic sample project demonstrating existing features for 0.3 HOT 1
- Map info API
- Terrain modification/querying API
- Self-contained map development
- Add unit and functional tests to the project
- Remove redundant information from generated object files
- Windows release UX - cannot open .tar.gz HOT 1
- Building sample mpq map from template project: ceres.exe hangs on WIndows 10 HOT 1
- CreateUnitAtLoc does not seem to work
- The discord invite link in the readme is broken. HOT 5
- Unrelated but lacking direct communication
- Make module order in emitted war3map.lua deterministic
- elseif does not allow paranthesis like if does. HOT 1
- No graphics API option in [run] HOT 1
- Too many locals because of modules HOT 1
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 ceres.