Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial player position incorrect #24

Open
imfoollink opened this issue Nov 15, 2017 · 0 comments
Open

initial player position incorrect #24

imfoollink opened this issue Nov 15, 2017 · 0 comments

Comments

@imfoollink
Copy link

player is initialized at a meaningless position if there is no spawn point in the map.

onedou pushed a commit to NPLFoshan/npl_packages_paracraft that referenced this issue Jun 14, 2019
* move to NPLRuntime Environment

* rewrite ast_to_string in pure lua

* replace require with NPL.load and commonlib

* fix minor bug for ast_to_string

* fix minor bugs

* fix unary minus op(-)

* remove betecode stage codes

* remove bytecode compile

* finish migration from lua to npl, and remove bytecode stage

* refactor code, let nplp inherit from mlp

* decouple nplp and mlp

* fix minor bugs

* neaten the code and add comments

* decouple nplp and mlp

* up to date

* parser for def structure

* lineinfo added and used to generate code

* lib updates

* line to line translate, need more tests

* updates

* comments

* handle nested +{} and blank +{}

* support already defined structure to be used in def

* dots(...) params supported

* update

* handle ... properly

* syntax changed +{} to +{= }

* tests

* minor bugs fixed

* handle +{=}

* support +{emit(p1)}

* tests

* NPL.loadstring

* fix

* fix

* object oriented refactor

* objected-oriented improved

* tests

* sync

* change test style

* wrap the generated code with do ... end

* tests

* test def block parser

* add ast helper class and compile-time executing

* sync

* change logic, moving from label params to pass symbol table

* add mode parser and unstricted mode parser, both need improve

* change logic, basic features have been implemented

* trim the code

* handle bracket in string

* add mode selection

* sync

* line to line transform

* add do...end

* update test

* test update

* emitline() in line mode

* test loop

* up to date

* update

* add a test of emit() in line mode

* change class definition

* Added parans all the time

* Changed NPL.loadstring API

* Fixed a bug when passing table as params

* sync

* Test changed with new NPL.loadstring API

* Solved name confict problem, support func(){} and func() simultaneously

* Fixed a bug when registering func expression

* Changed API back

* Moved global lib part to util.lua

* Removed _G

* sync

* Fixed a bug, handle \r\n

* sync

* Fixed issue NPLPackages#23

* Allowed using keyword as identifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant